WordPress.org

Ready to get started?Download WordPress

Forums

NextGen Show Gallery based on Page Link ID (2 posts)

  1. bremmerm
    Member
    Posted 2 years ago #

    Hi,

    I want to dynamically display a gallery that is assigned a "Page Link" ID on based on the page they are on, rather than use the standard gallery ID (this way visiting the page triggers which gallery is shown).

    Here is what I have:

    <?php echo do_shortcode('[nggallery pageid= <?php the_ID(); ?> ]'); ?>

    As you can see I used "pageid" instead of the standard "id", however this does not work. Any suggestions?

    Thanks

  2. bremmerm
    Member
    Posted 2 years ago #

    0 ideas???

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.