Sample implementation: https://test.shrimataji.org/early-life/
- Unable to get rid of the parent and grandparent page links (in this case “Early Life” and “Shri Mataji” respectively)
- I’m unable to constrain the listed menu to immediate child level, i.e. if I place it on a grandparent menu page then only parents need to be displayed and not children / grandchildren.
OnPoint Plugins1 month and 1 week ago
Hi Fondazione Mondiale Shri Mataji Nirmala Devi Sahaja Yoga,
You may display only the immediate child level of the navigation menu by adding the following filter to your active theme’s functions.php file.
A couple of notes:
Have a great day!