Archived topic
Secondary menu in sidebar
5 replies · Started by Oliver on December 20, 2018
Hi - is there away to get a secondary menu shown in the vertical sidebar without coding?
I have a primary menu item "training" which is only visible to logged-in users.
For all secondary pages (parent page = "training") I like to show just a list of all pages as menu in the sidebar.
I did create a secondary menu but how to show it in the sidebar? Can be as linked list...
Thanks,
Oliver
Hi there,
you can set the Navigation Location to sidebar in the Customizer > Layout > Secondary Navigation.
wow! quick answer.
How do I limit the secondary menu to be shown to all pages under "training"?
Simplest way is to create a new menu and add the list of pages you want to be displayed and then assign that to the secondary navigation.
Thanks - I have found an option to display the "menu widget" by role.
This is OK for now but not ideal as the menu is shown on all pages but at least not public.
Sorry misread your question. You can use the Layout Element to disable the Secondary Nav, just make sure you have the elements module and the disable elements module activated:
https://docs.generatepress.com/article/layout-element-overview/