how to get a page created without it showing up on navigation (4 posts)

  1. shiner25
    Posted 10 years ago #

    you know you have pages and posts.. well

    I want to go into admin and create a new page but not have it show up below the pages on my site.. I just want to use it as a page to refer people to.. after they have made a purchase.. how do i prevent it from showing up?

  2. shiner25
    Posted 10 years ago #

    Big Problem it tells you to do this


      <?php wp_list_pages('exclude=17,38&title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    Note: The Page is only excluded from the list; it can still be accessed from Manage->Pages by clicking that Page's "View" button. It can also be accessed by directly typing itsURI in your web browser.More: Excluding a Page from the list will also exclude all of its SubPages (a.k.a children) ifit has any. [Moderated - we can read the Codex ]
    Problem is my pages are not numbes as i have permalinks on.. so how do i do it with permalinks on

  3. MichaelH
    Posted 10 years ago #

    So you're saying that using Page ID displayed in your Manage->Pages panel doesn't work with the exclude parameter in wp_list_pages?

  4. moshu
    Posted 10 years ago #

    It has to work, I also use permalinks and exclude Pages by their ID.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.