Cross Referencing Two Taxonomies
-
Hi guys, realised I had posted this in the wrong place so I apologise for the duplicate post (mods if you’re watching could you eradicate the other one!)
Been doing some research on this and for some reason I think I might be looking in the wrong places/searching the wrong terms.
I’m building shop directory functionality into a website for a customer, and I wanted to do this with a custom post type, and two taxonomies, one for location, one for activity.
The idea being, I can call up all the places for one activity, all the places under one location, and then all of the posts which match an activity and a location. So for example, places to eat, places in london, and places to eat in london (the latter being what I have difficulty with)
I’ve thought about doing this a number of ways, but I’m looking for the way that involves the least complicated route for the site’s manager and myself as the developer (aren’t we all!)
The first thing that popped into my head would be to have a page template that has something that says “If it’s in LONDON and PLACES TO EAT, display it.” but then I would have to have a page template for every location and every activity in that location, so not ideal!
Does anyone have any ideas? The help is much appreciated
- The topic ‘Cross Referencing Two Taxonomies’ is closed to new replies.