WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Integrate into theme method? (2 posts)

  1. TheBasty
    Member
    Posted 4 years ago #

    I am sorry, but this should be some basic info that doesn't seem to be posted anywhere: is there any method to directly integrate NextGen Gallery directly into the theme template?

    What are the template tags that can be used?

    Thank you for your feedback. Cheers!

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. helgatheviking
    Member
    Posted 3 years ago #

    i know you probably aren't still looking, but I came across this same issue. originally i found a post on here about filtering the $content to get the shortcode to run, then i read you could:

    echo do_shortcode('[slideshow id='.$gid.' w=556 h=326]');

    where $gid is the gallery id, but since I've been digging around in the code I found there IS a function for this, but it isn't documented

    echo nggShowSlideshow($gid, 556, 326);

    well all that is for a slideshow, but i "presume" that there is a similar function for galleries, and if not the echo do_shortcode works too

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.