• Resolved Shanon de Silva

    (@shanon-walter)


    Hi, I have used a slider plugin to show a slideshow on my home page but I do not want to have the slideshow on all other pages. is there a way to solve this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • what plugin?

    how and where did you insert the slider code?

    Thread Starter Shanon de Silva

    (@shanon-walter)

    Hi Micheal, This is the name of the plugin “Slider Huge-IT” and I have inserted code below to header.php

    <?php echo do_shortcode("[huge_it_slider id='1']"); ?>

    Hello Shanon i am also facing this problem.

    I have used ultimate slider and placed it in header-image.php file and disabled the the_custom_header_markup.

    <div class=”custom-header”>
    <div class=”custom-header-media”>
    <?php //the_custom_header_markup(); ?>
    <?php echo do_shortcode(“[ultimate-slider]”); ?>

    </div>
    </div><!– .custom-header –>

    At first i thought it was working as it didn’t show anyhting on my other pages. However checking it on mobile i notice it still loads the slider and was also in the source code.

    Any thoughts where and how to place it so it’s only visible for the front page?

    In the header.php
    check for front page, if so, do the slide show.

    I have done this, and as far as I know it works ok. At present only looking with a laptop, as no hand-held in hand.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sub pages’ is closed to new replies.