Is it possible to hide taxonomy menu items based on their node count?

E.g. i have several zounds categories (notebooks, office, health, etc) created but they are just empty taxonomy items because the client has yet to add these products.

I'd like only the taxonomy terms with nodes to be visible.

Is it possible to accomplish this via rules or some other module?


I have a taxonomy menu created by taxonomy_menu and then it's turned into a menu block and that menu block is turn into a superfish dropdown menu.

1 Answer 1


There is an option in the taxonomy_menu "Hide empty items" to disable menu options if there are no nodes tagged with the specific term. The option can be found in the admin/structure/taxonomy then the vacab you are using.

Below is an image for reference.

Settings Image

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.