Organizing your pages
Although with our Custom Theme you will need to use the Menu Builder to manually create a menu layout, it is still important to understand the WordPress concept of Parent & Child Pages, as this option will control the URL/page address of your pages.
When using WordPress as a content management system (CMS) it’s important to understand the page hierarchy to maintain your navigation menu. WordPress has parent pages (top level menu items) and child pages (second level menu items).
As an example we have created a sample website. For this website we have created an individual page for: Oceania, Asia, America, Europe and Africa. A travel agent website may feature an individual Page for each continent to which the agency can make travel arrangements. Its main navigation menu would look like the image below.
These pages are Parent pages – this will make them appear at the top level of the menu.
If you are wanting to have your new page appear as a top level menu item (a Parent Page), then when you are editing the page you would select to have (no parent) as in the image below. The Order is then the Order from left to right in which you wish this page/menu item to appear in your menu (If you are re-ordering your menu, then you may need to edit the Order that has been set for your existing pages to allow for your new one).
Now they need to create sub-menus showing the different travel options for each continent.
So they create the next pages: Samoa – Fiji – Australia- New Zealand – to display under Oceania.
These pages (sub-menus) will be Child pages of Oceania – they will appear under Oceania in the menu
When creating sub menu items/pages, then you would select the Parent to be the item/page that you wish this new page to sit under. For example, for the page Samoa you would select the Parent to be Oceania, and the Order to be 1, as shown in the image below:
Although using the Page Attributes settings as shown above will not affect our ‘physical’ menu, it will help make sense of the page address. This is important for Search engines, so that your website is readable to them.
For instance, using the example above, if we create the page ‘New Zealand’ and give it the Parent ‘Oceania’ then the page URL/address will be:
If we did not select a parent, then the URL/address will be:
In effect, giving your pages ‘Parents’ helps give structure to your site and menu, and make it easier for search engines such as Google to ‘read’ your website.