WordPress.org

Support

Support » Plugins and Hacks » NextGen-Gallery into header?

NextGen-Gallery into header?

  • Hi guys / Alex

    I´d like to use a slideshow in my header. And I´m really confused.

    Is there any step-by-step-procedure?

    BR, St.

Viewing 4 replies - 1 through 4 (of 4 total)
  • yeah i would like that too…

    Hello,
    Look in your theme templates for header and find the loop that has the words img, images,like this one…<div id=”header_img”>, then insert this code before it ends </div>

    <?php
    $showgallery = ‘[slideshow=1]’;
    $showgallery = apply_filters(‘the_content’, $showgallery );
    echo $showgallery;
    ?>

    [slideshow=1] 1=your gallery number that you want on header
    Adjust the size of the Slideshow in NGG Options/Slideshow/ to the size required by your theme, (go to your themes files, look for images folder, open it and look for the header pic and find out the size (width and Height)opening with a program or just approaching the cursor to it.

    You may have to do some arrangements in the position of this code within the loop, checking the website…until put in the right place…

    Hope it works!! 🙂

    Hi RAULOR,

    I had the same doubt. I included that code in header.php, and it’s working like a charm.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘NextGen-Gallery into header?’ is closed to new replies.
Skip to toolbar