[Resolved] Hide child page in top bar
I read so many answers on this topic already but nothing worked for me.
I want to display 2 levels of pages in my navigation bar (parent and child 1). I opened the post-template.php file, went to the
wp_list_pagesline modified the
depth=2I even tried different values just in case.
The child pages (level 2) always show, it is so ugly. I tried exluding them one by one in the
child_of' => 0, 'exclude' => ''line, but no result.
Did I miss a
Here is the website if you want to have a look: sballiance.org. (the tab “our members” is the problem).
Thanks in advance.
- The topic ‘[Resolved] Hide child page in top bar’ is closed to new replies.