• Resolved rnarian

    (@rnarian)


    Hello, my site is http://www.inspiredautosport.com and I want to display the NGG Gallery Slideshow on my Front Page Header only. I inserted the code in BOLD below in my Header.php file but the slideshow is displaying on all pages, instead I only want it on the Home page, can anyone help in how I can do this?:

    <div class=”sg-header-area”>

    <div class=”header-wrap”>

    <?php
    do_action( ‘sgwindow_header_image’ );

    get_sidebar( ‘top’ );
    ?>
    <div class=”frontpage_slideshow”>
    <?php
    $showgallery = ‘[slideshow=1]’;
    $showgallery = apply_filters(‘the_content’, $showgallery );
    echo $showgallery;
    ?>
    </div>

    </div><!– .header-wrap –>
    </div><!– .sg-header-area –>

    <div class=”main-area”>

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @rnarian – This appears to be the second duplicate of your original topic, please see the first posting for our reply and a suggestion on how to proceed.

    Thanks!

    – Cais.

Viewing 1 replies (of 1 total)
  • The topic ‘Slideshow Display in Header NextGen’ is closed to new replies.