Have you ever wanted to create pages in WordPress but don’t want them listed in the header or footer navigation areas? You still want the pages to be accessible, perhaps listed in the sidebar, so you don’t want to make them private. You can do this by excluding pages and I’ll show you how to do it.
I have seven pages on this site but only 4, plus the home page, are listed in the header and footer. None of these pages have privacy settings. The remaining three are listed in my sidebar as links rather than in a list of pages. Do you know which ones they are? They are Bookmarks, Friendfeed Lifestream, and RSS Stream.
Pages are displayed with the following code, which is generally used in the header, footer, or sidebar.
<?php wp_list_pages();?>