NextGen-Gallery into header? (5 posts)

  1. Stephan69
    Posted 7 years ago #

    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.

  2. Sumit1988
    Posted 7 years ago #

    yeah i would like that too...

    Posted 7 years ago #

    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>

    $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!! :)

  4. cimalulo
    Posted 6 years ago #

    Hi RAULOR,

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

    Thank you!

  5. Alex Rabe
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.