Site logo

Archived topic

Hide Navigation if empty

3 replies · Started by Sebastian on January 2, 2019

Viewing posts 1–4 of 4

Hi there,

I want to hide the main navigation, when its empty. Background: I want to have specific "product menues" (main navigations) on specific pages (already installed the Plugin Conditional Menus).

I searched for a solution and came across "fallback_cb" "false", but in my case I would prefer not to edit the theme and the core menu function.

Is there an easier solution to do so? Perhaps with a Code Snippet?

Thanks!

Sebastian

Can you open a new topic for the separate question?

It will help us to track the issue.

Thanks!

This archived topic is closed to new replies.