WiscWeb - WordPress UW Theme - Creating Parent / Child Page Structures
There may be times that you will want to create a site structure that groups pages together with similar themes. A Parent page is the first, or top-level page while Child pages can be sub-items of the parent they are associated with. This assists with breadcrumb navigation as well as best practice for general page structures.
Creating a Parent / Child Relationship
Creating a Parent / Child relationship is an easy process, and begins with WiscWeb - WordPress UW Theme - Creating a Page. Once you have a set of pages, for example, a People section with subpages of Staff, Faculty, and Graduate Students, visitors to your site will be able to see the navigational relationship between those pages.
- Create the first, or Parent page. For example, the "People" page.
- Once that is done, you can create the subpages. Within each subpage, beneath the Publish section you should see a Page Attributes section.
- In the Parent drop down menu, click and choose the page that should be the parent of this page you are creating.
- Publish this page.
Once you have done this for any and all pages that you need to create and apply as child pages, click again on Pages in the left menu. You should now see your page list displayed, with a Parent page and the child pages offset beneath it.
When viewed in the live site, subpages of the parent will now have the appropriate bread crumb trail for the pages that are parents of it.