Forums › Forums › Search & Filter Pro › Exclude Taxonomy items that aren't included in category.
- This topic has 6 replies, 2 voices, and was last updated 5 years, 11 months ago by Anonymous.
-
Anonymous(Private) January 17, 2019 at 9:52 pm #199279
Hello Search & Filter,
Trying to prevent taxonomy items from showing in the dropdown if the items don’t exist in the category.
An example. . .
We have our taxonomy filters set to “Hide empty terms” in the plugin settings:
As I understand it this would hide the terms if they are “empty”. Which makes me think. . . if the terms are not applied to any posts within the results we have “included” in our results? Or if the terms are empty overall?
We limit the results to only a specific category, in this example “Film”:
But on the dropdown, we get a lot of Directors that are not in the “Film” category.
And if we do a search on a Director that is not included on a title we get the empty page:
Trying to not include taxonomy terms that will return zero results. Are we on the correct path, or is it done somehow else?
Thanks for your support! Loving the plugin so far 🙂
– LukeTrevor(Private) January 22, 2019 at 12:42 pm #199606Hi
As well as Hide empty, you also need Auto Count ON (both settings):
https://www.screencast.com/t/ffvfs896
Is that what the issue is?
-
AuthorPosts