I want to compile a list of my top 10 photos from 2012 like so:
However, also photos that are NOT tagged “2012” are shown in the gallery.
It appears that passing a number of tags to the gallery shortcode connects them with an OR statement, showing items that contain either one or the other tag.
Is there a way to connect tags with an AND statement, like, show only those attachments that contain BOTH tags?
- The topic ‘Gallery shortcode question’ is closed to new replies.