How to Force category filter?
-
For a new project I’m working on, I need to be able to filter all content on one specific category, including menu-links,etc.
Say I have a blog about food with several subjects and a blogpost can be about one or multiple of the following subjects
-thai food
-indian food
-mexican food,
etc.
Combined with several other categories which are included in the main menu like:
-Restaurants
-Take-away
-Delivery
-Recipies,
etc.Now what I want to achieve, is that the visitor can filter the content based on subject. So if a visitor selects the filter ‘thai food’, every article should be about the subject thai food. If the visitor navigates to ‘restaurants’ in the menu when the ‘thai food’ filter is on, their should only be thai restaurants returned.
How would I go about and do this? Of course I could retrieve a custom menu for each subject, but there must be a smarter way! Any help would be greatly appreciated
- The topic ‘How to Force category filter?’ is closed to new replies.