Support » Fixing WordPress » Multiple Taxonomies and Tags
7 years, 4 months ago
Maybe someone could help with this or point me toward a tutorial. I am trying to figure out how to filter posts by multiple taxonomies and tags. Currently I can only filter posts by a single tag or taxonomy.
The site is http://shirtoid.com/
There are two taxonomies: “cut” and “color” and of course there are many different tags. I would like to be able to, for example, find all posts with cut=men & color=red & tag=cat
I can probably figure out some sort of interface, but first I need help with how to form the query for this.
Thanks in advance.
If it’s just tags or categories, then you can use the tag__and or category__andarguments with query_posts().