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?
- The topic ‘NextGen Show Gallery based on Page Link ID’ is closed to new replies.