Remove empty terms | WordPress.org

[ad_1]

I really like your plugin, but it would be best if terms which have no items (with a count of 0) would not be displayed in the filter list. I know you can select the terms to add to the filter, but if every time you add a new post, you have to go and update the filter terms, it becomes cumbersome and error-prone.

In a similar vain, if you select one filter, and that causes some terms to no longer have items that match, it also shouldn’t be displayed. For example, if I have a category with therms “shirt” and “pants” and another with “red” and “blue”, if I select “pants” and there are no “red” pants, then “red” shouldn’t be displayed either.

Thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer