Display only if all tags are included
-
I have 2 quick questions.
How do I to display a list of posts that include all the tags that I specify (rather than any of the tags). For example, if I wish to display posts that contained red and blue and yellow tags (rather than red or blue or yellow).
[posts-by-tag tags = “red, blue, yellow” order_by =”title” order=”asc”]
I guess I could do a work around by creating a single tag like ‘red-blue-yellow’…
My second question is, how do I set the number of posts to be returned to be all. The workaround I’m using is to set number to be 100 but just wondering if there was a better way?
[posts-by-tag tags = “red, blue, yellow” order_by =”title” order=”asc” number=”100″]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Display only if all tags are included’ is closed to new replies.