Tell us what you are trying to do?
A simple view that list posts by the sub-category
Category 1
- sub-category 1
- sub-category 2
Views is quite limited when it comes to filter by taxonomies hierarchy, for what i've seen. Yes, it does have a lot of options but when it comes to taxonomy hierarchy, it flaws.
I can't seem to:
- Query filter by parent relationship post that is assigned to the same category or sub-category as the current
OR
- Query filter by other CPT that is assigned to the same SUB-CATEGORY (note: not the parent category)
Am i seeing the wrong picture here?
Sure, i can create a view and target by that specific sub-category, but then i would have to create a view for each one which is not the ideal scenario. When i select to query filter by the same category, it always interprets the parent category.
Imagine you have 2 different CPT's that share the same taxonomy.
I assign both CPT Posts to the same exact category and sub-category.
So both posts are inside the taxonomy, heres an example:
TAXONOMY BOOK TYPES
- category "books"
-- sub-category "adventure"
I cannot create a view that list all posts only from the sub-category (adventure) that is inside the category books... if i specify in the view query filter to show posts from another CPT that belong to the same taxonomy, toolset will always search for Post under books category (main category) and not adventure (sub-category).
What if you create a page that lists all category and sub-categories and then when you click on that specific category/sub-category term name it will display the term archive page that will eventually list all the posts from all post types.