• I am looking at using custom themes for a wordpress site. My question is if I add a link to a new page, how Do i create that page without it being listed in the sidebar? I figured i would just make up the theme then go to the admin area, then write page and add the info for that page in there. but that adds the page to the navigation and i don’t want that as the page is not a main page. I only have a test site up right now with the standard wordpress starter theme

Viewing 2 replies - 1 through 2 (of 2 total)
  • It depends on what you are using to display your navigation. In most cases there is a parameter you can pass to the function calling the navigation to exclude certain pages.

    For example the pages widget, which displays pages in the default wordpress sidebar, has an exclude id field in the widget’s option.

    and

    The wp_list_pages() function also can take an exclude parameter:

    <?php wp_list_pages('exclude=7,33'); ?>

    in the example above 7 and 33 are id numbers for pages excluded from the navigation.

    There are also plugins that let you exclude pages from your navigation menus through the dashboard, including this and this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘new pages’ is closed to new replies.