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();?>
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=17,38' ); ?> You can see that you have added 'exclude=17,38' 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=96
The number at the end, 96, 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.
Are there other tweaks that you would like to add to your list of pages? Ask me about them in the comments and I will answer your questions. Or if your comment really inspires me I will write an entire article about it :-)
photo credit: malias
Mark Schoneveld says
Sweet! This is a great tip. I’ve been messing with this on my personal blog for a while now.
Vered - MomGrind says
I have a question: I would like to move my Legal page so that instead of appearing as a page on the sidebar (in the WordPress theme that I’m using, my pages are listed on the sidebar) it shows as a link on the footer. How do I do that?
Vered – MomGrind’s last blog post – Almost-Wordless Wednesday: Correct Your Nose Without Operation!
Kim Woodbridge says
@Mark – Thanks! I’m glad that you found the article useful.
@Vered – If you follow the instructions in the article, you can exclude the legal page from your sidebar. In the Manage > Pages there is a section called Permalink right below the title. This is the link that you would use in the footer. You could edit the footer page in the theme editor and add a legal link maybe where you have the WordPress and theme information.
If you want to discuss further, send me an email. kwbridge at gmail.com.
Feel free to email me anytime, Vered.
Vered - MomGrind says
Thanks Kim!
I will give it a try and email you if I get into trouble. :)
Vered – MomGrind’s last blog post – Almost-Wordless Wednesday: Correct Your Nose Without Operation!
Kim Woodbridge says
Great!
I know that I’m a backup nag but make sure you make a copy of the templates before you make any changes. I’ve learned that the hard way – repeatedly – lol. :-)
Vered - MomGrind says
Done!
Thank you so much – I’ve been wanting to do this for a long time now and wasn’t sure how.
Vered – MomGrind’s last blog post – Almost-Wordless Wednesday: Correct Your Nose Without Operation!
Vered - MomGrind says
And I always backup before making changes – learned the hard way too. :)
Vered – MomGrind’s last blog post – Almost-Wordless Wednesday: Correct Your Nose Without Operation!
Kim Woodbridge says
It looks great, Vered!! I’m so glad I was able to help.
Madhur Kapoor says
This is a useful tip. I have bookmarked it for later use
Madhur Kapoor’s last blog post – Create Anti-Pixel buttons Easily with ACA 80X15 Brilliant Button Maker
Kim Woodbridge says
Hi Madhur – Great! I’m glad you found it useful.
Sommer-Green and Clean Mom says
I wondered about this. Geez, Kim you did it again. Taught me something new! Thank you! I want my pics to look so nice. You blogged about this, right. Yes. Okay, I’ll find it.
Sommer-Green and Clean Mom’s last blog post – Time Managment Gone Green with Qlubb
Kim Woodbridge says
Hi Sommer – I love the new photo of you!
I’m glad this article is useful to you. It’s rapidly becoming popular. Let me know how it goes.
Are you referring to the article where I talk about framing images for each post? That is at http://www.kimwoodbridge.com/2008/09/08/how-to-frame-images-in-wordpress-posts-with-css/
Lynn Jordan says
Thank you for this information. It’s the best description of this that I’ve found. (And I’ve really been looking.)
All I have to do now is to find the right place for the code in my theme.
Thanks!
Kim Woodbridge says
Hi Lynn,
Thanks for stopping by and commenting. I’m so glad that you found this helpful. Many articles on these topics make it overally complicated so one of my goals is to write the tip in regular language.
Ben McFarlane says
Hi Kim,
Right now I’m trying to incorporate the exclude code with this:
I thought of just including a separate set of quotation marks with your exclude code in them, but that gave me parsing errors. A separate set of brackets with the quotation marks with the exclude code gave me another error. Any suggestions?
Yours,
Benny
Ben McFarlane says
Okay, I’ve included the exclude code within the one set of quotation marks, and there it excludes everything except for the about page, even if I use the ID for the one page I want to exclude. I subscribed to your RSS feed by the way :) Thanks again for posting this – it has given me a direction.
b
Ben McFarlane’s last blog post – Make Your Mixes Wider than Ever
Kim Woodbridge says
Hi Ben,
Thanks for visiting, commenting and subscribing :-)
I’m sorry that you are having trouble with the exclude code – it’s usually one tiny little thing that keeps these things from working,
It does have to be in single quotes and each page you want excluded needs to have the page ID number with a comma between.
If you want post the code here and I will take a look at it. Leave off the beginning and ending bracket and question mark or it won’t display properly in the comment. Or feel free to email it to me at kim.woodbridge at gmail . com
Ben McFarlane says
hehe… Thank you for a prompt response. Combined with your tip, I found my answer here:
http://wordpress.org/support/topic/202137
Ben McFarlane’s last blog post – Make Your Mixes Wider than Ever
Kim Woodbridge says
Awesome! I’m so glad you got it to work!
And the design of your site is great. Is it a custom theme or a modified one? It looks like it might be based off of Revolution …?
Please keep visiting :-)
Ben McFarlane says
Ah thankyou! Yes, Revolution magazine with lots of TLC.
Ben McFarlane’s last blog post – Make Your Mixes Wider than Ever
Jon says
Hi Kim, this tip works great for me except that I already have a condition in that particular php operation:
I don’t know anything about php so I don’t know how to also call the ‘exclude’ condition. Various ways of combining both conditions in the same operation resulted in syntax errors. What’s the correct way of including both the title and exclude conditions?
thanks!’
Jon says
Whoops, I tried to post my existing code but I guess it wouldn’t let me. Here it is with some extra spaces:
Jon says
…arghh, no dice again. I guess I can’t post anything that looks like code. Anyway it’s this:
less-than symbol ?php wp_list_pages(‘title_li=’); ?greater-than symbol
Kim Woodbridge says
Jon,
Sorry about the code problem. I will be sure to add instructions to this section. I have the following
I don’t totally understand the title_li part at the end but I do know that it works.
Jon says
It works! Thanks so much! :)
Kim Woodbridge says
@Jon Yay! :-)
Nick says
Somehow, NONE of the templates for my theme contain that string.
I can’t — for the life of me — figure out where it is.
However, I found this plugin, which does in fact work with the latest version of WP (2.6.2).
http://wordpress.org/extend/plugins/exclude-pages/
Thanks for this article though! =]
Kim Woodbridge says
@Nick – Strange – I wonder how your pages are being displayed. I’m glad you found a solution to do the job for you.
Ajax says
Hey Kim, i have a little problem with my code, and you seem to be the perfect person to help me.
My code is displayed like this :
And I want to exclude the page 22. Where should I try to put the exclude code, because everything seems to be wrong.
Thanks a lot and thank you for this tip.
Kim Woodbridge says
Hi Ajax,
I sent you an email because the code didn’t show up in the comment. I hope that helped. (I really need to provide instructions for the comments).
Brad says
You so rock…. seriously!
Kim Woodbridge says
Hi Brad – Thanks for visiting and commenting. And thanks!
Raju says
Thank you so much! A crystal clear tutorial :)
Raju´s last blog post – Very IMP: Any Problem with TechPP Theme?
Kim Woodbridge says
@Raju – Great! I hope it works out for you.
Pete says
This article was so great and helpful it was featured on the imake website!
Pete´s last blog post – How to exclude pages from a WordPress navigation bar list
Kim Woodbridge says
@Pete – Thank you for visiting and commenting. I have sent you an email about that article.
Rodney says
Hi Kim,
THanks for these great tips! I did add your code, as I too was in need of having pages not connected to the menu bar, but I found an interesting by-product – my sub- pages are no longer showing as a pull down off the menu (prior to making the code change, when I selected my “services” menu item, a drop down list showed up of all the sub-pages – but no longer).
Thoughts?
Thanks!
Rodney
Rodney´s last blog post – Innovation
Kim Woodbridge says
@Rodney – Thank you for visiting and commenting.
Do you use a script to make the dropdowns work? So far, all I can come up with is that there is a conflict between the script and the code.
Shirley says
A bit of a late reply, but the PageMash plugin is indispensible. It allows you to easily add or remove pages from within your WordPress admin area. No need to dig in code.
http://wordpress.org/extend/plugins/pagemash/
Shirley´s last blog post – Choosing the Best Location for Your New Blog
Kim Woodbridge says
@Shirley – I’ve heard PageMash is a great plugin. I’d rather add the code but I think the plugin would really suit a lot of users.
eve says
my navigation php looks like this:
get_results(‘select ID, post_title from ‘. $wpdb->posts .’ where post_status = “publish” and post_type = “page” order by ID’);
}
return $these_pages;
}
function list_all_pages(){
$all_pages = get_the_pa_ges ();
foreach ($all_pages as $thats_all){
$the_page_id = $thats_all->ID;
if (is_page($the_page_id)) {
$addclass = ‘ class=”current_page”‘;
} else {
$addclass = ”;
}
$output .= ‘ID).'” title=”‘.$thats_all->post_title.'”>’.$thats_all->post_title.’‘;
}
return $output;
}
?>
<?php
if (is_home()) {
$addclass = ‘ class=”current_page”‘;
} else {
$addclass = ”;
}
echo “Home“;
echo list_all_pages();?>
where i should add the exclude pages….i am not expert with php :P
thanks
Kim Woodbridge says
Hi Eve,
Your pages are being listed using a function rather than the standard
code. Are you using a premium theme? If so, does it have an options are
to set the pages? I don’t actually know how to exclude pages from that
function.
eve says
it is a template from
http://www.dailyblogtips.com/category/wordpress/
i also confuse how to change the page listing. The code is really different there.
I like this template because i can add banners at different pages…but they have different code than the one you mention :P
Kim Woodbridge says
Hi Eve – I’m not sure. Have you tried asking the theme developer
how to do this?
eve says
yes, i already ask them, they do not reply yet :)
I must choose different theme, the problem is i am not a pro with modifying css, so i don;t know how to add banner place at the top of my blog and also the sidebar. (this is the very reason i choose this theme although their coding is very weird :P).
You have tutorial for that?
thanks for your kind care and reply, i am your fans now LOL
Kraig Grayson says
Great post. It was exactly what I was looking for, and your suggestion worked. Thanks again Kim.
Kraig Grayson´s last blog post – Suppliers offering periodical subscriptions on the Internet
Kim Woodbridge says
Hi Kraig – Great! I’m glad it worked for you.
Monica says
Thank you, thank you! Your Oct. 17 comment did the trick.
Monica´s last blog post – Easy pillow cover with zipper
Kim Woodbridge says
Hi Monica,
Great! I’m glad you got it to work.
Dan says
Thanks for the method! You saved someone a headache tonight =]
Kim Woodbridge says
Hi Dan – I’m glad it helped you out. :-)
moralde says
On-the-spot answer to my question. Thanks also to the commenters. Your inputs made it even clearer for a newbie such as I am.
moralde´s last blog post – Great Tinyurl Alternative: Pretty Link Plugin
Kim Woodbridge says
Hi Moralde – Thanks for visiting and commenting. I’m really glad the
article helped you out :-)
Tammy says
Hi Kim,
excuse my very silly question, but php code is a bit new to me.
what file am I adding the above exception code too:
I have looked through header.php, themes.php, and others and can not see what you are referring too.
Thanks for your help :)
Kim Woodbridge says
Hi Tammy,
The code should be in header.php I have found, however, that some themes call a function in the header and that the code is located in the functions.php file instead.
Tammy says
Kim,
Awesome! I will have a look in the function.php file and let you know.
Cheers,
Tammy
Tammy´s last blog post – Therapy Is My Passion Not my Job
Tammy says
Hi Kim,
Sorry for the delay. I finally found the code you mentioned in the header.php file – Thanks
However I get errors when I add the exclude code
1. when I add it like this
I get this error: Parse error: syntax error, unexpected ‘(‘ in /home3/normquan/public_html/wp-content/themes/1729/CB-Outdoors/header.php on line 33
2. when I add it like this
I get this error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home3/normquan/public_html/wp-content/themes/1729/CB-Outdoors/header.php on line 33
Thanks for your help.
Tammy
Tammy´s last blog post – An Illustration of Power Differential between Men and Women
Tammy says
opps I forgot to add the code correctly in the post.
however I think Jon's post from earlier was actually my solution. I was trying to add another set of ()
Thanks Jon!
Thanks again Kim for offering this solution.
Tammy´s last blog post - An Illustration of Power Differential between Men and Women
Kim Woodbridge says
Hi Tammy – I’m glad you got it to work before I had a chance
to reply :-) Sometimes when you copy and paste code from a site you need to retype the single quotes – at least I’ve run into
that problem.
Ocean Rock Properties says
I could not get the exclude to work properly? Possibly because of this ———> <————–
Here is one of the ways I tried it below. Still doesn’t work right.
<a href=””>Home
Ocean Rock Properties´s last blog post – Life on Kauai by Natasha Shumate
Freddie Taylor says
Thank you for the simple tutorial. I would have never figured this one out. Appreciated it!
.-= Freddie Taylor´s last blog ..Balance Tv: Health is Wealth, Get Some and Pass It On! =-.
Kim Woodbridge says
Hi Freddie – Great! I’m glad it helped you out.
Marion says
Do you know of an easier way than include and exclude to create separate nav bars? I have a client’s site I’m working on with 4 main navigation buttons which are hard coded because they won’t change…and another nav area with global links to About, Contact, Employment, etc…If i use the include or exclude tags in the Global Links, then the client will have to open the header.php file if he adds pages himself, which I’m sure he will. Is there any way to use fields within the CMS to “assign” a page to a nav area? For instance, I’ve used a custom CMs where you could choose whether a page was a MAIN button or a UTILITY button…can WP be tweaked somehow to do the same thing in a way the client does NOT have to open PHP files? Thanks for any advise!
Kim Woodbridge says
Hi Marion – in this instance you may be better off using a plugin like page mash
http://wordpress.org/extend/plugins/pagemash/
Kerrin says
Thanks! Nice, simple, easy to follow tutorial. Just what I was looking for.
.-= Kerrin´s last blog ..Zen Cart Reference Book – The Ultimate Reference for Customising Zen Cart =-.
Kim Woodbridge says
Hi Kerrin – Thanks! Glad it helped.
Barbara Swafford says
Hi Kim,
So I’m working on my new project, and search for “wordpress exclude pages from navbar” and who holds the first position for that search string? You. How exciting.
Anyway, what you shared with Jon was just what I needed. At first I messed up and didn’t move the single quotation mark to the end and got a parsing error, but when I corrected my mistake, it worked perfectly.
You’re awesome Kim.
Thank you!
.-= Barbara Swafford´s last blog ..Caution – Read At Your Own Risk =-.
Kim Woodbridge says
Hi Barbara – I’m so excited my site actually came up first in a search result. And I’m so glad the article helped you out. Single and double quotes tend to be the bane of my existence ;-)
CrossShore solutions says
Excellent Tip!
If some one is not technical enough then they can use this plug-in as well,
http://wordpress.org/extend/plugins/exclude-pages/
Thanks and keep posting such useful tips!
Kim Woodbridge says
Hi – Yes, a lot of people use the plugin instead. Last night I made a number of pages that I didn’t want in my navigation bar and was almost wishing I used the plugin because I had to add so many pages to the exclude.
Jannie Funster says
YESSSSSSSSSSSSSSSSSSSSSSSS!!!!!! This is exactly what I want to do next on my blog to unclutter it a bit.
Thanks!
You’re not too bad, ya know!
:)
.-= Jannie Funster´s last blog ..Like a bord on a wire, 12 — Funny Typos =-.
Kim Woodbridge says
Hi Jannie – LOL – This article is an oldie but it’s one my most popular. People want to know how to do this :-)
Matthew Neer says
Thank you for the awesome information on excluding pages. I’ve always wanted to know how to do this while still being able to keep pages in my sidebar, you rock. Keep doing your thing!
Matthew Neer
.-= Matthew Neer´s last blog ..Your Only Milimeters Off… =-.
Kim Woodbridge says
Hi Matthew – Thank you so much! I’m glad the tutorial helped :-)
Karin says
Thank you so much for this information, it saved me from a lot of php-trouble ;-)!
Kim Woodbridge says
Hi Karin – Thanks! I’m glad it helped :-)
Michael says
Thanks a bunch Kim! I have been wanting to do this for awhile and haven’t found any way to do it. You’re clear instructions should make it a breeze. Thanks again!
.-= Michael´s last blog ..Cisco Hardware to power 4G WiMax Networks =-.
Kim Woodbridge says
Hi Michael – Great! I’m glad it helps.
bhagu says
Thanks for sharing… short and simple, but very good information.
Kim Woodbridge says
Hi Bhagu – Great! I’m glad it helped.
Naeem Noor says
Thanks, that’s what i neeeded to know :D
.-= Naeem Noor´s last blog ..List Of Essential PHP Quick References And CheatSheets =-.
Kim Woodbridge says
Hi Naeem – Great! I’m glad it helped you out.
Chava Vital Chocolate says
Thanks for the post Kim
Spent a good hour pulling my hair out though trying to find that code in the theme editor. It is not there anywhere. Same problem as Nick on Oct 19. His link to the plugin “exclude pages” however fixed the problem, worked a treat and I stilll have a few hairs left:)).
The theme I am using is called ZenHealth if you wanted to look into it more.
Thanks. Take Care.
.-= Chava Vital Chocolate´s last blog ..Waiora Agarigold – Agarigold H1X1 =-.
Kim Woodbridge says
Hi – On some themes the code is in a function in the functions.php file. PageMash is also a great plugin to use for navigation.
Chava Vital Chocolate says
Hi Kim,
Thanks for the quick response. You are right it is in the functions.php Must have been the only one did not check:(( Oh well will know better next time.
.-= Chava Vital Chocolate´s last blog ..Waiora Agarigold – Agarigold H1X1 =-.
Kim Woodbridge says
Hi – I learned that the hard way a while back when I couldn’t find the menu either ;-)
Cini says
In my blog,i have to add a code to the page.php (a must for me)
I added the code and works fine in a specific page which i created but the problem is that,when i added the code all the other pages like contact,privacy policy shows it.I just want to show it in that specific page i created
An example:I created a page let’s say X.I added this code. to page.php
Normally all the pages(contact,privacy policy) shows it.I don’t want this code to be shown in those pages but only in X page
Is there a way to exclude that code from other pages not to show it?
.-= Cini´s last blog ..70 Attractive Examples Of Big Typography In Web Design =-.
Kim Woodbridge says
Hi Cini – You would want to use conditional code and is_page so it only displays on the pages that you want.
I have an article about is_page here
http://www.kimwoodbridge.com/how-to-conditionally-display-wordpress-sidebar-content-with-is_page/
That article also contains a link to the WordPress codex, which has more information about conditionals.
Cini says
Ok got the solution
2 is the ID of the page
When i write the ID of the page it only shows on that specific page
.-= Cini´s last blog ..70 Attractive Examples Of Big Typography In Web Design =-.
Vamban says
Quite useful and handy tip for wordpress begineers such as me. No need any extra plugins to exclude pages from wordpress header.
Hats off to you!
.-= Vamban´s last blog ..Get Website- Logo- Icons- Stationary- Print Designs With 100 Moneyback Guarantee =-.
Kim Woodbridge says
Hi Vamban – I’m glad the article was helpful.
Zen Cart Zoo says
Thanks for writing this up, Kim. It is one of those annoying little things that should be so easy but can be a bit of a pain in the butt if you are not exactly sure what you are doing.
.-= Zen Cart Zoo´s last undefined ..If you register your site for free at =-.
Kim Woodbridge says
Great – I’m glad it helped.
Kalidasa says
I found this post while looking for a way to make pages completely invisible, like a thank you page for an autoresponder — and there’s the post above! Turned out this helps with another problem I’ve been meaning to deal with.
My page has a little more code on that line, so I’ll have to figure it out. Shouldn’t be hard, and I’ll do it on a test site first. Thanks for showing the way!
Kalidasa
Kim Woodbridge says
Hi Kalidasa – Thanks – I’m glad the article was helpful.
Adil says
Thanks for the info,
How to exclude the pages from header if the given code is not like and we have a code in function.php like this. Thanks
function art_get_page_title() {
$name = get_bloginfo(‘name’);
$cat = single_cat_title( ” , false);
$post = single_post_title(”, false);
$result = “”;
if (is_home () ) {
$result .= $name;
} elseif ( is_category() ) {
$result .= $cat;
if($name != “”) $result .=’ – ‘ ;
$result .= $name;
} elseif (is_single() ) {
$result .= $post;
} elseif (is_page() ) {
$result .= $name;
if($name != “”) $result .= ‘: ‘;
$result .= $post;
} else {
$result .= wp_title(”,false);
}
Kathy says
When you go to print preview on your page or on my website, at the top of any/all of the pages it prints out the complete list (out-line) of all pages above the stuff you really want. Most website pages don’t do this. Seems to be a WordPress anomaly. The person who helped me set up my pages couldn’t solve my problem. I was wondering if you could. Thank you
Kim Woodbridge says
Hi Kathy – I’m not sure why that isn’t showing up. When I do a print preview of my page the list of pages is at the top. Sound more like a browser issue than a WordPress one.
Meg E says
WOW. Thanks. I’ve been frustrated by this for weeks, but never googled the right combo of words.
Yasir Imran says
Doing this (exclude) will not unpublish any pages? but it only remove from navigation, right ?
I must stumble your page because it helped me completing one of my gig at fiverr
Kim Woodbridge says
That’s right – the page still exists and is published but it isn’t displayed in the navigation.
daniel says
Hi Kim,
Thanks so much for posting this.
I’m trying to get my pages not to appear anywhere, but only be accessible through a link (from an image).
Is this possible?
Also, is there anyway to exclude the Main blog title from the top of each page???
Thanks so much,
D
Kim Woodbridge says
Hi Daniel – Yes, if you don’t have a navigation menu or list of pages you can hide all the pages. I’m not sure how you want the images to work but you could set them up and have them link to the specific pages.
You can exclude the title – how this is done will depend on the theme that you are using. It is usually done by removing the code that displays it from the theme’s template files.
Wordpress help says
This way was good for newbie . It;s will do also with plugins.
Bruce says
Hi Kim,
I’m unable to find the location in the standard WordPress Twenty Ten 1.2 theme where to make these edits. Can you advise which file needs to be edited and where in the file?
Thanks very much for the fine info you convey so well!
Kim Woodbridge says
I believe Twenty Ten uses custom menus, which make it much easier to exclude pages. Go to Appearance > Menus
Bruce says
Hi Kim,
The link has ALREADY been deleted in the built in menuing system, and the change saved, yet it STILL appears on all of the site pages!! That’s the reason I am looking for a place to make a manual adjustment as the change is not taking place in the menu system as it should. Very perplexing!! Thanks for any help you may be able to provide.
Kim Woodbridge says
Are you using a caching plugin that might keep you from seeing the change? Or have you tried looking at it in a different browser? As long as the menu being used is the primary one the changes should appear without any additional tweaks.
Sal says
Where does the code go? On which page and how do you find it?
Kim Woodbridge says
Hi Sal – This article is old and menus can be managed via Appearance > Menus if your theme and WordPress version supports it. Typically, this code, however, is found under Appearance > Editor > header.php
Rohit says
Sir,
Nice tip but isn’t there any function in admin panels from there we can hide the page because i my website have many pages it will be difficult.Pls suggest me with any plugin or any other methods to do
Ahmed says
Hello admin. I can’t exclude page if the code look like this
'primary', 'fallback_cb' => 'zbench_wp_list_pages', 'container' => 'false', 'items_wrap' => '%3$s' ) ); ?>
Anyone can help me please?! :)
Christian says
My users create pages , so how about if alot of pages are being created at once ? I cant manually be putting them inside the code. It will take forever ! Isnt there another way to have the pages listed in the sidebar and not displayed on the menu?
Tim says
Go to edit page, on the right hand side, under Publish, there is a box that say’s Visbility:public click edit, and make the page private, its as easy as that.
Hope this help’s anyone.