I need to sort my posts in two different ways: by type of information and by theme.
So, each post has a category (type of info) and one or more tags (subject).
Let's say my posts are lemon, banana, strawberry, lettuce, potato and beet. The categories (type of info) would be fruits and vegetables. The tags would be red, yellow and green.
I made a custom menu exactly that way:
Fruits - red, yellow, green
Vegetables - red, yellow, green
If the user clicks on the yellow submenu of fruist, the page has to display 'banana' but not 'potato'. Is there a dinamic way to filter the menu item (tags) by its parent (category)? I'm new to wordpress and i'm not even sure if tags and categories are the best way to accomplish this.