Multiple Taxonomy Queries | Possible Bug or Limitation?
-
Hi Bill.
Not sure if it’s a bug, limitation or something wrong in the shortcode I am using.
I have 2 custom post types, one for news entries:
mynews
and another for stories:mystories
.
Each has a taxonomy attached to it;news_tag
andstories_tag
respectively.I am trying to query articles from “vanilla” posts, news posts and stories posts by querying multiple taxononmies per your instructions. This is the shortcode:
[display-posts taxonomy="post_tag" tax_term="my-term" taxonomy_2="news_tag" tax_2_term="my-term" taxonomy_3="stories_tag" tax_3_term="my-term"]
I’m thinking it is not displaying because the term I am querying is the same for all three taxonomies? That’s the only reason I can think of. Explicitly specifying the post type does nothing too.
[display-posts post_type="post" taxonomy="post_tag" tax_term="my-term" post_type="mynews" taxonomy_2="news_tag" tax_2_term="my-term" post_type="mystories" taxonomy_3="stories_tag" tax_3_term="my-term"]
Working locally on the latest versions of everything. Any advice? Thanks.
- The topic ‘Multiple Taxonomy Queries | Possible Bug or Limitation?’ is closed to new replies.