1. Home
  2. Knowledge Base
  3. General
  4. Creating Page Hierarchies in WordPress

Creating Page Hierarchies in WordPress

Unlike posts, which are often organised into archives based on metadata, pages can be organised hierarchically in a parent/child structure which is nice and clear to see in the back end of your site.

Below is a screenshot of a ā€˜Pagesā€™ listing containing the titles for some pages you might find on a typical college or university website.

These structure of these pages in relation to each other is currently ā€˜flatā€™ ā€“ ie. there is none. However we can start to change that.

If we click on a page title ā€“ ā€˜Who We Areā€™ for example ā€“ as well as editing the content, we can also define the pageā€™s hierarchical structure. On the right hand side of the screen, there is a ā€˜Page Attributesā€™ section where we can assign a ā€˜parentā€™ page.

In this case, I would like ā€˜Who We Areā€™ to be a subpage within the ā€˜About Usā€™ section so Iā€™m going to select ā€˜About Usā€™ as the parent page and then click ā€˜Updateā€™ to save my changes. Now, navigating back to the page listing, we can see that ā€˜- Who We Areā€™ has been ordered below ā€˜About Usā€™ with a hyphen to denote its child status.

You can assign as many child pages to a parent page as you like (although, not the other way around!) ā€“ and can even assign children to children if necessary. Grandchildren will appear with a double hyphen in the page listing.

Below you can see the initial collection of pages organised into a much more functional hierarchy.

Bonus tip: most of the time, youā€™ll be assigning page attributes on the fly as you create new content. If however, you have a big list of unorganised posts, you can quickly define parents/children through post listing page by using the ā€˜Quick Editā€™ tool which appears when hovering over an item:

Updated on August 5, 2020

Was this article helpful?

Related Articles

Not the solution you were looking for?
Canā€™t find the answer youā€™re looking for? Donā€™t worry weā€™re here to help!
Contact Support