I've been banging my head about this, and have created a work-around, but it would be much nicer for my site's organisation if I could figure this out.
I want to be able to query posts across two taxonomies (one of which is custom), I'd like to be able to do this automagically, without needing to create custom templates with custom DB queries.
I want to have a
platform custom taxonomy, and in the same time to be able to label articles as
category (such as
At the moment I use a customised
Walker to allow me to use the built-in Menu system to generate menus that point to specific archive pages.
My URL looks like:
This finds articles that are in the
PS3 portion of platforms AND in the
Review category. Currently this is all done under the normal wordpress
Ideally I'd want them to be separate taxonomies, (
Reviews being part of normal
Category tax and then a
Platform tax for console organisation) so that the URL could look like:
It looks nicer and would let me keep my categories more tightly organised. BUT I can't for the life of me see how you set up WordPress to query across two taxonomies automatically.
Has anyone else come up against this?
Edit: Following Rarst's comment, I have to wonder, am I being too ambitious with my URL requirement? I could feasibly set this up using GET parameters and just one template (i.e.,
example.com?platform=ps3&type=review); is that the simplest/most robust way? Any other ideas on how to solve this?