Hi Mat, I’m using an Adv Nav Menu for a website section that has 4 levels deep. I don’t want the 4th level to display, but I use the link setup for breadcrumbs and to highlight the parent above it. I’m clicking the different checkboxes but see no different results. I removed my CSS code with only cosmetic changes. I tried a Nav Pages widget with the same results. When I remove the item from my Menu structure, the Adv Nav Menu won’t display. I did select Exclude this page and entered it into the PAges widget. I also clicked Clear my cache after each save. My fallback is to remove this from the list, but then the menu won’t display. Do you have a way to do this? Thanks, Mike
Hide Menu Item?
Resolved
OnPoint Plugins
Good Morning Mike,
The next minor version of this plugin will support excluding an item from the navigation menu when the box is checked to exclude it.
In the meantime, you may use the following filter to exclude a particular page from the menu.
If you add this filter to your active theme’s functions.php file and change “124338” to match the id of the page you are trying to exclude, it will be removed from the menus.
Have a great day!
Mat Lipe
moliver1
Hey Mat, That did the job. Thanks, Mike
OnPoint Plugins
I just wanted to stop to in say that version 3.7.0 of this plugin has been released which supports excluding pages from navigation menus which are checked to be excluded.
Excluding a page may now be done by checking the box and no longer require a filter.
Documentation is here.
Enjoy!
Mat Lipe