I would like to build an website which mostly will be events.
So my question is the following:
Is any plugin where I can filter by conditional taxonomies. For example, I have countries Taxonomy and also cities Taxonomy. I would like to select one particular country and then to see only the cities from that country. Do you think is possible?
I should be very grateful to you if you could provide more details about this issue, and, if possible, some technical advices.
I tried Search and Filter Pro and Ajax Search Pro, but it looks I can’t get my desired filtering.
Best regards,
Doru
2
Answers
Yes, it’s possible to achieve conditional filtering based on taxonomies like countries and cities in WordPress, but it might require a bit more customization or the use of more advanced plugins than what you’ve tried so far.
Custom Taxonomy Setup
• Countries Taxonomy: Add a taxonomy for countries.
• Cities Taxonomy: Add a taxonomy for cities, which should be set up to relate to the selected country.
Plugin Solutions
While plugins like Search and Filter Pro and Ajax Search Pro are powerful, they might not handle conditional relationships between taxonomies out of the box. However, there are a few approaches you can take:
a. FacetWP