Archived topic
How to display the Secondary Menu on selective pages
3 replies · Started by vikingruler on July 10, 2018
Hello there
Can you assist me with how to display the Secondary Navigation Menu on selective pages.
There are two Primary Categories on my site Diets & Weight Loss / Gym Equipment.
Diets & Weight Loss has 5 subcategories. Gym Equipment has 3 subcategories.
On my Main Navigation Menu I have Diets & Weight Loss / Gym Equipment, displayed across the whole site - I am happy with this.
How do I display the Secondary Navigation Menu on selective pages only?
So, when a visitor chooses Diets & Weight Loss category, from the Main Navigation Menu, the Secondary Navigation Menu displays only the 5 subcategories, applicable to the Diets & Weight Loss category (and does not also include the 3 subcategories from the Gym Equipment category). Also when the visitor chooses one of the 5 subcategories (within the Diets & Weight Loss category), the Secondary Navigation must display on all 5 subcategory pages.
My reason for this support ticket, is that I do not want to get into using Sub-Menu navigation items; and if at all possible not another plugin.
I look forward to hearing from you.
Thank you.
Hi there,
for a static secondary navigation, you can easily disable it from the pages you don't want to using the Layout Module > Disable Elements.
This topic explains how to display menus conditionally:
Thank you David.
Much appreciated.
You're welcome. I think Tom may have some plans for this as a future update for the new GP 1.7 (beta) Elements module.