Support » Themes and Templates » Hiding child pages from the sidebar navigation

Viewing 5 replies - 1 through 5 (of 5 total)
  • Cassandra,
    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 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.

    Reb Orrell

    Hi Reb,

    Sorry I’ve only just seen your post now – but you seem to have resolved the issue already. Well done!




    Forum Moderator

    Use the depth parameter with wp_list_pages():

    <?php wp_list_pages'title=&depth=1');?>

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hiding child pages from the sidebar navigation’ is closed to new replies.