June 15, 2014

WordPress Child Page Menu (parent and subpages)

In this lesson we learn about “parent” and “child” pages in WordPress. We also learn how to code a menu that will automatically output links to any children pages relative to the currently viewed page, as well as a link to the relative top most ancestor page.

Link to download .zip of theme files as shown in this video (note: this is not a “complete” WordPress theme yet and this download is only intended for educational purposes to dissect and review).

Do you want to share the WordPress website that you’ve been creating on your computer with the world? The next step is to use a web host to share your site with the world. Learn about web hosts, my favorite one, and how to get a plan for only $5.78 per month.

View the entire “Learn WordPress” series

About the Author

Brad Schiff

Brad Schiff is a front-end developer, designer, and educator who has been building user interfaces for over a decade. He’s done work for Fortune 500 companies, national political campaigns, and international technology leaders. His proudest achievement is helping people learn front-end web development.

Follow Brad on Twitter Subscribe on YouTube

3 thoughts on “WordPress Child Page Menu (parent and subpages)

  1. Currently running through the tutorial, very helpful!

    While I was following this video I had an issue with the post header(h2) staying on the right side of the children-links nav (instead of under).

    Turns out I didn’t have a clearfix in my css. As I didn’t download any code up till here I’m not sure whether this was made earlier in the tutorial.

    Cheers

Leave a Reply to Dilver Singh Cancel reply

Your email address will not be published. Required fields are marked *