Support » Themes and Templates » Hiding child pages from the sidebar navigation
7 years, 6 months ago
Does anyone know how I can hide the child pages from the navigation on the left hand side: http://www.ben4ben.org.uk/
I don’t have an answer to your question, but I could use your help.
I viewed your webpage and love it. I’m trying to do exactly what you’ve done at the top with expanding the usual number of photos from 7 to 11.
My code appears to be set up the same way yours is; however it’s not working.
Can you go to http://www.BestFriendsPhotoBlog.com and check it out. I believe everything is listed in the header.php properly (I even changed the open width to 280).
Perhaps my problem is with my style.css or my image.Menu
I really would appreciate any help you or anyone else could offer.
Sorry I’ve only just seen your post now – but you seem to have resolved the issue already. Well done!
Use the depth parameter with wp_list_pages():
Try this plugin. Works great.
Exclude Pages from Navigation
No need for a plugin if you utilise the function parameters, using depth should resolve the problem, as Esmi has shown above.