There are many ways to hide your wordpress page links in the navigation menu, but it depends on your version of wordpress. Development is quick and as of this writing, the most recent version is 2.8.4.
Hiding the page link to your main navigation menu is useful, for “privacy policy”, “terms and conditions” and other pages you may want to hide.
These are the common methods:
Method 1: Make the Page Private
Links to private pages don’t appear in the main navigation menu. You can then put a direct link to the private page somewhere in your website (usually in the footer, sidebar, or one of your posts). A password will be needed to access the contents of a private page.
Method 2: Editing the file where the wp_list_pages() tag is
From the 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?); ?> If you can’t find this tag in the header.php file, try looking at sidebar.php (depends on your wordpress theme).
Look for the id(s) of the page(s) you want to hide. To do this, go to Manage and then choose Pages from your WordPress dashboard. The page id will be shown when you mouseover the pages.
Back under the header.php (or sidebar.php in other themes). Find the <?php wp_list_pages(’title_li=&depth=-1′); ?> and add the page IDs you want to hide in this format: <?php wp_list_pages(’title_li=&depth=-1=&exclude= ID,ID2,ID3‘); ?>
Change ID1, ID2, ID3 with the page IDs you want to hide from the navigation menu.
Method 3: Use plugins to Hide Pages in WordPress
You can use this plugin: 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).
Hope this helps.
Tags: hiding a wordpress page link in the nav menu, hiding page link in wordpress menu, how to hide a wordpress page link in navagation menu
© 2012 Hi, I'm Jalex | Powered by WordPress