NextGEN Gallery
[resolved] How to call a gallery with both tag and id (2 posts)

  1. thebiz
    Posted 6 years ago #

    I want to display images from a gallery by both ID and GALLERY TAG.

    I am calling the gallery from the template file and not the page using this code: <?php echo do_shortcode('[nggtags id="2" gallery="tattoo"]'); ?>

    Not sure what I am missing, but it is not recognizing the ID, but just the gallery tag. and I would like it too do both. I also tried the nggallery but then it just uses the ID and not the tags.

    Being able to use both the id and gallery tag would be great... is this possible?

    this is the page: http://eternalimage.ca/cms/portfolio/

  2. thebiz
    Posted 6 years ago #

    I suppose one solution would be to apply 2 tags to images vs. using the ID in addition to a single gallery tag.

    but I was hoping for something a bit simpler for my client

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.