Hide menu categories if they haven't any nodes

Created on 1 July 2020, almost 5 years ago
Updated 14 February 2025, about 2 months ago

Hello, All
Thank you very much for such a necessary module.
It would be great to have the opportunity of automatically hiding the "empty" categories in the menu.
What do I mean - for example, I switch to a category and there are no products on the displayed page. why display such a category in the menu in this case?
Is it possible to implement this - hide all menu items (taking into account the depth of menu), when navigating through which there is no content?

best regards,

Savage

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇾Belarus savage1974

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada joelpittet Vancouver

    Unassigning this since leaving it assigned without active work can be misleading—it makes it look like it’s being worked on, preventing others from jumping in. Meanwhile, with the best intentions, the issue might end up forgotten.

Production build 0.71.5 2024