This article, though it discusses categories, will answer your question.
How to easily display links to both Pages and Categories in the blog navigation header?
Read Pages to get a feel for what pages are.
You will also want to read about the exclude parameter of the template tag, wp_list_pages().
Hi Michael,
I have the same question as Willpower1, which I do not want the newly created page appearing on the nav bar. I have gone thru the links you given, but couldn’t figure it out.
I test it on my developer site here. What I did is, I created a new page called “Breaking News” and I have Visibility checked as “Private”. Next, I created a hyperlink, “Go to Breaking News” on any page, in this case the link is on the page “Join Us” and point to the new page, Breaking News.
It works, but the newly created page carry the Private at the title. I do not want the Private appear on the page. What is the correct way of doing it?
Edmund
Don’t make it private.
Use the exclude clause in wp_list_pages if you don’t want a page to appear in your nav menu. Usually that’s in header.php of your theme.
Hi Mike,
I use the wp_list_pages (‘exclude=id nos’). It didn’t work. It has generated any tag at the end of the nav bar, here.
Any idea where this line should be placed in the header.php?
Edmund
You will have to provide a link to download your theme or copy and paste your header.php code into a pastebin and report the link back here.