Hi, I contacted you earlier regarding showing only current section navigation while also showing top level menu items, and also removing grandchild items which are not siblings or children of the current item. Your filter worked great and we appreciate it!
One other quick question I had was if we could add something to the filter to remove Grandchildren when on a top level page. An image that shows what I mean is here:
I looked through possibilities and tried this but it didn’t seem to work:
remove_filter( ‘advanced-sidebar-menu/list-pages/grandchild-pages’, [
], 1 );
OnPoint Plugins1 year and 1 month ago
Assuming the other support ticket you are referring to is this one, I have modified the previous filter to remove all grandchild items from the menu when viewing a top level item.
Have a great day!
Deanne Holzman1 year and 1 month ago
Thanks alot, that is just what we needed.