Most of our site works perfectly with dynamic menus using your plugin, however I’d like to manually add a menu item to a couple of areas.
Is it possible to add an item in the structure without having to manually build a new menu?
Thanks in advance.
We use cookies to allow login, checkout, and analyze site traffic. By continuing to use this website, you consent to the use of cookies in accordance with our cookie policy.
OnPoint Plugins
Hi Daisy,
The most straightforward way to accomplish this would be to:
For example lets say we have a menu item with the id of
8
, you would hide it via the following CSS:Then in an area which has a unique body class (for example
page-home
), you could show the menu item like so:Hope this helps!
Mat Lipe
systems
Thanks for the response, perhaps more info will help.
We have a well structured site and I want to add a menu link from deep in the structure in one area to a page deep in the structure in a different area. Obviously the content is in a different part of the site, so the dynamic menu won’t add it.
In your response 1) adding the item to the menu is exactly what I want to do, but I’d like to add to the 5th tier of the menu.
OnPoint Plugins
Hi Daisy,
The only way to add an item from a different area/structure is to use the Navigation Menu widget with a custom menu.
Otherwise, the dynamically generated Page widget relies on a the parent/child hierarchy to generate the menu and is not able to pull items from other hierarchy.
Have a great weekend!
Mat Lipe
OnPoint Plugins
Hi Daisy,
I forgot to mention earlier, there is a way to add a page to a structure which links to another area of the site:
This will add a page into your dynamic menu structure which points to another location which is not related to the pages in the menu.
Have a great night!
Mat Lipe