Support » Themes and Templates » Hiding Sub-Pages from Top Nav

  • meL3xi4ever

    (@mel3xi4ever)


    I have read other topics on this, but I have made a lot of failure.

    Okay, so I am using a custom theme I got from another site, and it is showing some pages that I do not want it to show. I have found the code, and am using: `

      <?php wp_list_pages(‘exclude=17,38’ ); ?>

    ` but I have NO IDEA where to place it. Here is my header.php file…

    [Code moderated as per the Forum Rules]

    I understand that I would need to replace the <?php wp_list_pages('title_li=') ?> with my code, but I have done that, but it keeps giving me an error message when I try to visit the home page.

    Please help me…??!!

    Thanks! (:
    ~lexi

  • The topic ‘Hiding Sub-Pages from Top Nav’ is closed to new replies.