Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WP help: exclude a specific page’s children from nav Re: WP help: exclude a specific page’s children from nav

#75320

Hi

It can be easily done and your not far off all you need to do is get the page id’s as the id of the page in the database not the div id. You can find the idea of page by clicking on pages and hovering over those pages and the id will be at the end of the url. You then use the exclude bit and place in comma separated id’s. The other ways are using exclude tree which gets rid of parent and hiding them with css but you should really use the first way.

Here is the function reference which shows you how to do this:
Your text to link…

Hope this helps!