Tell us what you are trying to do?
On this page: hidden link
I am showing a particular view 5 times, like so:
[wpv-view name="communituyguideviewfiltered" wpvtypeofbusiness="arts"]
[wpv-view name="communituyguideviewfiltered" wpvtypeofbusiness="advocacy"]
in order to show each section. If you see the filter section I'm displaying, I'd like that to ONLY show the child terms for that particular section. Right now, I'm using some crazy CSS to filter out the children for each section, but it doesn't work on Safari. I'd like to know how to get those child filters created in Toolset, ideally.
Is there any documentation that you are following?
I haven't been able to find what I need.
Is there a similar example that we can see?
If you look at the page in Chrome, it behaves the way I want it to behave. But it won't work in Safari, so I need to duplicate the way it LOOKS using Toolset instead of CSS ninja-ing.
What is the link to your site?
hidden link
Hello,
There isn't such kind of built-in feature within Toolset plugins, see our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-control-post-taxonomy
No such an option to limit the taxonomy filter field options by parent term.
You can add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
You can add a feature request for it, our developers will evaluate it.
Is there any sort of hook that would allow me to alter the control-post-taxonomy on a specific view?
Yes, there is API hook "wpv_filter_taxonomy_frontend_search_get_terms_args", which can modify the arguments used for getting the terms that will be offered in the front-end filter.
See our document:
https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_taxonomy_frontend_search_available_terms