Title: Hide empty taxonomy
Last modified: September 18, 2017

---

# Hide empty taxonomy

 *  [crashy1111](https://wordpress.org/support/users/crashy1111/)
 * (@crashy1111)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-taxonomy-2/)
 * Hi,
    how to hide search for empty taxonomy’s ? I couldn’t find any option in 
   plugin settings that could do it. I have some inside taxonomies some tags that
   are still empty and I want to exclude them from search, can you please tell me
   is there way to do it?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-taxonomy-2/#post-9507509)
 * 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.
 *  Thread Starter [crashy1111](https://wordpress.org/support/users/crashy1111/)
 * (@crashy1111)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-taxonomy-2/#post-9512314)
 * 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
 *  Thread Starter [crashy1111](https://wordpress.org/support/users/crashy1111/)
 * (@crashy1111)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-taxonomy-2/#post-9513030)
 * I found something here [https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/advanced/exclude-by-category-or-terms.html](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.
 *  Thread Starter [crashy1111](https://wordpress.org/support/users/crashy1111/)
 * (@crashy1111)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-taxonomy-2/#post-9513645)
 * For example like on this video [https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/frontend_search_settings/category_selectors.html](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 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide empty taxonomy’ is closed to new replies.

 * ![](https://ps.w.org/ajax-search-lite/assets/icon-256x256.png?rev=3192672)
 * [Ajax Search Lite - Live Search & Filter](https://wordpress.org/plugins/ajax-search-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-lite/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [crashy1111](https://wordpress.org/support/users/crashy1111/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-taxonomy-2/#post-9513645)
 * Status: not resolved