Hi!
Do you mean the categories in the category filter? Those should be hidden by default, as far as I know. I’ve looked at the code there, but it does not display the empty terms for me.
Is this different for you? If so, I might be able to suggest a modification to force hide those.
Hi,
I have for example taxonomy genre, and I added many terms (musical genres: pop,rock,…), and when users upload music on my site they choose genre that is related to their music.
But not all terms that I added have music connected. So I need to exclude those empty terms that haven’t been chosen yet from search. Now if I search every term is showing up but it doesn’t contain anything, how can I exclude those empty terms from search?
Thank you
I found something here https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/advanced/exclude-by-category-or-terms.html under Hiding posts (or any CPT) with no categories or terms , but I guess this is not it, since its still showing terms that are empty.
For example like on this video https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/frontend_search_settings/category_selectors.html if I choose all from taxonomy, I want that only terms that have something are searchable and not all terms that empty. Hope you understand what I need 🙂