Forum
Get intersection of multiple tags?
I understand that, using perch_blog_custom()
, I can get blog posts from multiple tags by setting the value of ['tag'] in the parameter array to an array of tag slugs. I can also filter those tags using ['match'] = 'in'.
However, all these options return the union of the multiple tags. Is there any way to return the intersection of the tags instead? (i.e., posts tagged both #X AND #Y, instead of posts tagged either #X OR #Y)
I don't believe so, no.