• I have installed the Smooth Slider plugin, attached my posts which I can see in the preview window. I tried adding this

    if ( function_exists( 'get_smooth_slider' ) and is_home()
    and !is_paged() ) {
     get_smooth_slider(); }

    to the index.php file as outlined here:
    https://www.clickonf5.org/4545/smooth-slider-home-page-only/
    but the code shows on the page, not the slider.
    Also, when listing pages, WordPress only lists addition pages, not the actual homepage, so how do or can I add the alternative shortcode to the homepage?

Viewing 1 replies (of 1 total)
  • Thread Starter rpjd

    (@rpjd)

    Figured out the problem, the code wasn’t within php tags.
    Now I have the slider with all my posts underneath it. How do I remove the posts from the homepage without affecting the slider?

Viewing 1 replies (of 1 total)
  • The topic ‘Adding shortcode to homepage???’ is closed to new replies.