Problem:
How to filter taxonomy filter dropdown options and display specific terms
Solution:
There is no way to filter the term options added to taxonomy filter select box using views but a workaround would be:
You need to use WordPress standard hook "pre_get_terms" in order to filter the taxonomy query.
You can find the proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/exclude-specific-pages-from-search/page/2/#post-1611953
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 17 replies, has 2 voices.
Last updated by 4 years, 7 months ago.
Assisted by: Minesh.