Only show direct parent and siblings Resolved Requested: 2 years and 3 months ago Hi, I use the Sidebar Page Menu Widget (PRO). Most of the menus work fine, but when I have sub-sub-(sub)-levels all the parent menu-titles are shown. But I only need the direct parent not the others.
OnPoint Plugins2 years and 3 months ago
You may remove additional levels of parents and only display the current item’s direct parent by adding the following filter to your active theme’s functions.php file:
Have a great day!
Philipp Kuhlmann2 years and 3 months ago
Thanks, that worked fine..