Forums

[Plugin: NextGEN Gallery] Inserting Slideshow into Header (3 posts)

  1. zacnboat
    Member
    Posted 2 years ago #

    I'd like to use the NextGEN Gallery Slideshow function as a permanant fixture in the header of every page.

    I'm not sure what the code looks like to do this. How do I call the NextGEN Gallery from PHP to include something into a PHP / CSS managed portion of the site?

  2. Josefus Flavius
    Member
    Posted 2 years ago #

    Inserting the following worked for me:

    <div class="widget headerWidget" style="margin-top:5px">
    <?php if (function_exists("nggSlideshowWidget"))
    { nggSlideshowWidget(1,250,230); } ?>
    </div>

    Where you define your CSS instructions - from a stylesheet or in the style= statement

    and you include the php command for the slideshow below. In this case:
    Gallery ID=1
    Width=250
    Height=230

    You might be able to use additional slideshow parameters as well.

    Hope this helps!
    J

  3. gabeparr
    Member
    Posted 1 year ago #

    tried doing this on my site, but it moves my titles and everything under it or over it depending on the code location, ultimately i would prefer the title and blurb information to overlay the slideshow.

    any notions?

Topic Closed

This topic has been closed to new replies.

About this Topic