Hiding Sub-Pages from Top Nav (1 post)

  1. meL3xi4ever
    Posted 6 years ago #

    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! (:

Topic Closed

This topic has been closed to new replies.

About this Topic