Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Query and display posts with tags from different taxonomies

$
0
0

I'm trying to create a View Query that lists only those "Classes" (a Custom Post Type) that are tagged with a "Level" taxonomy term AND a "Location" taxonomy term. Not that's it really relevant, but Classes is a child of Programs (i filter the Classes to only those in a Program via the "page where the View is inserted" filter setting).

For display, I want to "group" Classes by the two taxonomies, i.e. Location > Level > Classes (using Views within Views within Views?).

Example…

Chicago
Level 1
Class A
Class B

Chicago
Level 2
Class C
Class D

Tampa
Level 1 & 2
Class E
Class F

etc.

I know this might seem pedestrian enough of a View Query, but I'm hopelessly stuck. I am able to get the Classes grouped by Location (or Level) via a Classes View within a taxonomy View, but how do you continue to a second taxonomy term grouping?

Should I have created a hierarchical (category) taxonomy instead?

Is there simpler way to filter on multiple taxonomies at the same time?

Thanks in advance,
Matt D.


Viewing all articles
Browse latest Browse all 20145

Trending Articles