One problem you may face into when you create a static page for your home page that links to a page that now appears on the main site navigation, so you have two links to the same page – the page is usually called “Home” on the main site navigation. In this article shows how to hide a link from your site navigation so that your site’s visitor are not confused with duplicate links.
Or sometimes you want to create a page in WordPress, but do not want them listed in the header or at footer navigation area? But you still want the page is accessible, so you do not want to make them private. You can do this by excluding the page and I’ll show you how to do it.
1. If you have a “self-hosted” site instead of one hosted on WordPress.com, you may be able to use the Exclude Pages Plugin for WordPress to hide your extra Home page link and any links that appear in your sidebar Pages navigation. By upload and activate the plugin then create or edit a page, and just exclude it from the navigation.
2. Edit your themes files, pages are displayed with the following code, which is generally used in the header, footer, or sidebar.
<?php wp_list_pages();?>
This will list all of your pages until you add conditions in between ‘()’. You need to use the exclude condition and find out what number ID each page has. The exclude code looks like
<?php wp_list_pages(‘exclude=18,26′ ); ?>
You can see that you have added ‘exclude=18,26′ to the original
list pages code.
Of course, we need to locate the correct ID numbers for your pages.
Go to Manage > Pages and select the name of the page in which you would like to exclude. In the address bar of your web browser will be a URL that looks like the following.
http://www.yoursite.com/wp-admin/page.php?action=edit&post=18
The number at the end, 18, is the ID number for the page and is the number you will use in the exclude code. You can do this for each page that you want to exclude as long as you put a comma between the page numbers in the code.
No related posts.
20 Responses to “How to Hide Page Link at WordPress Blog”








it must be fine
great information you write it very clean. I am very lucky to get this tips from you.
Thanks for good information that comes out to
read.
As Of Today Tuesday , I really think that How to Hide Page Link at WordPress Blog | Andi Hope for Better Future will arise many arguments, in which people might take different sides on. how to earn money online is a truly interesting subject.
We were was doing a search and impressed by the info you posted. Just exactly what I wanted too. This rocks!
registry cleaners are really very useful specially if you are encountering registry errors on your windows xp machine ;
i really find registry cleaners very necessary to improve the system performance of a desktop PC ,.;
Blogging like you do is such an art and you obviously have that skill here – I don’t but I did find this that made me smile so maybe I can return the favour by making you smile too?
If at first you don’t succeed, redefine success.
Good site. Will want some time to think over the story!!
Hi,
And thanks for the free info this sounds great if you are using word press, but do you think that I can use the same or a similar method with googles blogger as this is the blog that i use.
Thanks again.
Very interesting post I will give it a try
.., I am very thankful to this topic because it really gives up to date information ”,
Enjoyed your post. I agreed with most of what you said and I’m sure it will be of help to others.
Debt Settlement Or Bankruptcy? What do YOU think?
Love your post . Really
Great Insight, I really agree with most of the above statements
Highly useful information. Thanks
Thanks.
It has worked for me just with the plugin itself. Without changing the code at all
I’ve been looking for info on this topic for moths and this is the greatest I have found. I enjoyed reading your current posting.
If you want an e-book reader, I recommend the New kindle 4, Kindle touch, or Kindle Keyboard. Kindle Fire is an Android tablet which is primary functions are for music, videos, internet and games. Kindle Fire aims to serve Amazons digital contents, such as streaming videos and musics From Amazon cloud directly to the tablet, So Kindle Fire is currently available to US only due to digital contents restriction license. There are No Kindle Fire International For Hong kong yet. The New Kindle 4 is already available for Kindle Hongkong with the Prices $109