This beginner-level WordPress tutorial shows 1. How to make a “child” page or subpage of another page (a “parent” page) using the WordPress 2.7 editing interface. And 2. How to hide a link in the Pages sidebar widget, in other words, how to keep a link to a page from showing in the Pages sidebar widget by putting the page ID number into the “Exclude” box in the Pages sidebar widget dialog box. Making “child” pages (subpages) is useful because you may not want all your pages to show in the main page navigation of your WordPress theme. In most themes, only “main” pages (pages that don’t have a “parent”) show up in the main page navigation. In some newer WordPress themes, child pages show up in a popup menu that appears when you roll over the main page link. And in some themes, sub-subpages show up in popup menus as well. These are sometimes called “cascading” navigation menus: sub-subpages show up in a popup menu when you roll over a subpage link. The second part of this tutorial shows how to hide (or “exclude”) a link to a page that would otherwise appear in the links of the Pages sidebar widget. This is useful for a number of reasons. One is that when you make a static page your Home page in WordPress, some themes will show the link to this static page as a second home page link in your main navigation. By making the Home page a subpage and excluding that link from the Pages sidebar navigation, you can eliminate the double Home page link.
13 Responses to “WordPress Tutorial – How to Make a “Child” Page (Subpage) and How to Hide Sidebar Widget Link”




Thanks for the video… How does this affect webcrawlers.. if I am hiding the original home page link because I have created a new static home page – will think still get indexed when the site is crawled?
Great video!!! How do you hide the affiliate link from the side bar if you are using a advertising banner
in various templates, there is no way to make a subpage visible once created.
@dieterlee3
Many thanks for the kind words. It’s time to crank out some new tutorials! I’ve just been too busy. Let me know if there is a topic you would like to see covered.
- Mark
Outstanding Videos! I find your videos far more informative and useful than a WordPress membership site that was costing me $20 a month. Keep up the fantastic work!
this was exactly what was looking for to hide my child pages! thank you so much. such a life saver
keep up the good work!
Ok after over a week of debating over this program called SocialBlaster, I made my decision today purchase it and its been the next best decision I have made in a long time.
Simple, plus very effective…traffic to my wordpress blog from over 40 + networks!
NO MORE iMACROS bullchyt for me…THANK GOD!!
in the php header code you change the depth value to depth=0. That should work
Thanks for this, very useful.
Was curious if you know how to hide child pages from the main nav bar. A lot of themes display child pages and it makes for far too much clutter. I have tried snippets of code for css and php and none have been successful. I know its somewhat dependent on the theme itself but, any advice would be great.
[...] the original post here: WordPress Tutorial – How to Make a “Child” Page (Subpage) and How … Share and [...]
[...] reading here: WordPress Tutorial – How to Make a “Child” Page (Subpage) and How … Share and Enjoy: Posted in WordPress Tags: another-page, beginner, page-or-subpage, [...]
[...] WordPress Tutorial How to Make a Child Page (Subpage) and How …Increase Your Websites Page Rank One Link at a Time | Panoramic …Page Rank : Blogsss :: Blogs and More [...]