How to hide Pages in WordPress
Wordpress by default displays all the pages and the sub-pages you create in the main menu or the navigational menu of your blog. However, there are situations where we don’t want certain pages from being displayed on the main menu but still retain their functionality. Sometimes when you have too many pages in your blog, your navigational menu starts overflowing from one horizontal line into two and more …
In the article, I will tell you how you can hide pages in WordPress and prevent them from showing up on the navigational menu of your blog.
Method 1 : Write and save a page as a Draft
Yes, this simple method lets you retain all the functionality of a page. You can still access this page by searching for it and this page will still be accessible if you type in the URL of that particular page.
So, create a page as usual and then under Page Status menu on the right hand side, choose Draft and hit save
Method 2: Edit your theme’s header.php
* From your Wordpress Dashboard, go to Presentation and Theme Editor and then select header.php from the options on the right hand side
* Look for wp_list_pages() tag. You will usually find this under a div id of top nav or something else that represents your blog’s navigational menu. This tag usually looks like this <?php wp_list_pages(’title_li=&depth=-1′); ?>
* Now go to Manage and then choose Pages from your WordPress dashboard. Back under the header.php
<?php wp_list_pages(’title_li=&depth=-1=&exclude= 32,56,199‘); ?>
In the above code, I added =&exclude=32,56,199. The 32,56,199 represent the page IDs I want to hide from my navigational menu
Method 3: WordPress plugin to Hide Pages in WordPress
You can use the Exclude Pages WordPress Plugin by Simon Wheatley to hide pages in a WordPress blog. This plugin adds a checkbox, “include this page in menus”, which is checked by default. If you uncheck it, the page will not appear in any listings of pages (which includes, and is usually limited to, your page navigation menus).
If you liked this article, click here to buy me a coffee!Popularity: 62% [?]


April 6th, 2011 at 7:51 am
It is a good blogs for the internet user pls describe the work of word press?
April 28th, 2011 at 9:32 am
This solution is now obsolete since Wordpress 3 was released.
has now been replaced with…
‘menu-header’, ‘menu_class’ => ‘main-menu’, ‘theme_location’ => ‘primary’ ) ); ?>
So now if you add your exclude, the code looks like this…
‘menu-header’, ‘menu_class’ => ‘main-menu’, ‘theme_location’ => ‘primary’, ‘exclude’ => ‘YOUR_HIDDEN_PAGE_IDs_HERE’ ) ); ?>
May 10th, 2011 at 7:37 pm
One other important part is that if you are a mature person, travel insurance for pensioners is something you need to really look at. The elderly you are, a lot more at risk you happen to be for allowing something terrible happen to you while in foreign countries. If you are not really covered by quite a few comprehensive insurance, you could have a few serious complications. Thanks for discussing your hints on this website.
May 26th, 2011 at 2:47 am
I am trying to create a ‘child’ page for one of my ‘parent’ pages but it just doesn’t seem to work. On my blog admin panel on wordpress, I have a page called ‘kindergarten’ and when they click it, it will have 4 links: Language Arts, Math, Social Studies, & Science. I am working on Math right now. So, what I want to happen is that when people click on ‘Math’ it would lead them to another hidden page that’s not on the header that says ‘Addition’ and ‘Subtraction’. I heard that this is called adding Subpages. I’ve checked a TON of wordpress questions in the Q/A, but none seem to work. Please help!
June 7th, 2011 at 5:51 am
I need a Wordpress plug in that will allow me to use the first few lines of a post on a page and “hide” the rest under a link that will expand when I click it and show the rest of the post. Can anyone point me in the right direction? What I ma doing is creating my own shopping cart where I will list the product and its description and use a PayPal button for processing. The problem is that some of the products have very long descriptions, and I want to only show the first few sentences. I do not want each products to have its own page however. I just want the hidden text to expand downwards when the link is clicked. Thanks
June 7th, 2011 at 7:34 am
@cheapskiwear….Are you talking about using the page divider in the WP menu?..take a look at my site and see if that is what you need…all my front page posts are like that…(http://fastharry.com)…
if that is what you need, when you post there is a box in the kitchen sink (the tools above the post) that looks like a piece of paper cut off…that is the “insert more” tag….if you like my posts using that tool, let me know…I will give you the tricks you need to make it work properly…You can email me also if you need help, support@fastharry.com
Harry
June 24th, 2011 at 4:07 pm
Thanks for this post. This plug in was helpful to me..
June 27th, 2011 at 10:55 pm
However, there are situations where we don’t want certain pages from being displayed on the main menu but still retain their functionality. Sometimes when you have too many pages in your blo
June 28th, 2011 at 2:34 am
WordPress is very good tool for SEO but pages like categories aren’t useful for SEO because Google can find duplicate content.
July 1st, 2011 at 3:33 pm
thanks for the tip I was trying to figure this out the other day. Who knew it would be so easy.
July 28th, 2011 at 2:17 pm
I use Exclude Page Plugin for hiding pages. Very simple & the most convenient method.
July 30th, 2011 at 1:22 am
thanks for this important information.your blog is amazing.
August 2nd, 2011 at 2:35 am
This isn’t good idea. WordPress is very good for SEO so we should public all pages.
August 4th, 2011 at 12:21 pm
These steps will help me to get my work done in wordpress.
August 24th, 2011 at 1:12 pm
thanks for the information.. just what i exactly need.
September 3rd, 2011 at 12:29 am
I want to make a website which can be easily updated. with the help of Wordpress.
September 6th, 2011 at 10:25 am
Great tip. I never thought I would need to hide a wordpress page.
September 8th, 2011 at 8:13 am
Outstandingly entertaining bless you, I reckon your trusty audience would possibly want more writing like this keep up the good work.
September 9th, 2011 at 9:33 pm
great info for the uninformed user, good work
September 20th, 2011 at 12:12 am
Login to your Wordpress admin page. Select Pages from the left hand column. The pages will be listed. Move the mouse over the Shop page and it should show options to Trash or Edit. You can either Trash it or choose Edit and then Save Draft. If it is a draft page it will not appear on the blog.
September 20th, 2011 at 12:13 am
I’m trying to make a sales page in wordpress, but I don’t want my 2 sidebars/widgets to show on the sales page to optimize my sales page. How can I do this? I have 2 sidebars/widgets that I don’t want them to show on my sales page.
September 20th, 2011 at 12:15 am
Hi, guys, is the way how can i make my video dont showing in wodpress index page, but when user pushe to to that article link hi could see that video
September 20th, 2011 at 12:16 am
I want a Mootools-style accordion menu effect applied to the Pages menu in WordPress? Is there a plug-in or an easy solution to do this? I want to be able to use the parent pages as the menu, but hide the sub-pages of each parent in the accordion.
September 20th, 2011 at 9:08 am
I am really lucky that i got great information from this blog.
October 3rd, 2011 at 8:43 am
Hi nice title according post…How to hide Pages in WordPress…@@@
December 3rd, 2011 at 6:07 am
I hide a number of pages on my Nav bar to keep my sites look and feel clean. I do this because when people are visiting your site for the first time I think it can be overwhelming if there is too much information.
December 5th, 2011 at 4:07 am
However, there are situations where we don’t want certain pages from being displayed on the main menu but still retain their functionality. Sometimes when you have too many pages in your blo
December 5th, 2011 at 4:08 am
However, there are situations where we don’t want certain pages from being displayed on the main menu but still retain their functionality. Sometimes when you have too many pages in your blo. Thanks for this blog.
December 14th, 2011 at 1:02 am
Thank you, just what I was looking for. Very helpful information and easy to follow.
January 2nd, 2012 at 8:24 pm
Thanks for very good article. I was looking for the solution to hide a specific page on one of my blogs and I finally made it. Thanks so much.
Ronny @ billig seo
January 5th, 2012 at 3:16 am
Is there any such propositio-n, that is, who should have done what and when should he or she have done it, currently being expressed about the Economic Crisis? Can anyone state such a propositio-n?cheap guild wars 2 gold
January 13th, 2012 at 1:42 pm
Vielen Dank für Ihre Artikel, werde ich Ihren Link in meinem facebook teilen.
January 13th, 2012 at 2:06 pm
The following may be useful.
I read in the wordpress codex that the draft pages are still indexed so even though they are hidden from the visitor you you may want to ensure that any draft pages are still on topic and high quility to help SEO.
Just my $.02
David
January 16th, 2012 at 2:48 pm
I’ve learned some new things through your site. One other thing I’d prefer to say is the fact newer computer system os’s tend to allow much more memory to be utilized, but they also demand more ram simply to function. If a person’s computer cannot handle extra memory as well as the newest software program requires that memory increase, it could be the time to buy a new Computer. Thanks billig seo
January 20th, 2012 at 2:53 am
This is a very important information about the hide page in wordpress. Many of the people like to hide their information from the spammer or other people .Then they follow the step of given in this article.
February 2nd, 2012 at 2:36 am
Thank you so much for this! I didn’t know how to do this and was holding off on setting up an email list and free report until I figured it out. Just didn’t have to time to go searching for info and then came across this post. So simple and easy to understand. You’re the greatest!!!
February 3rd, 2012 at 11:00 am
Really useful content, have always had issues with squeeze pages and thank you pages getting indexed so I found this helpful.