code fight club

How to Create a Child Page in WordPress

The parent page feature in WordPress is very handy, and allows you to set up a hierarchy of pages. It is useful for things like the Vertical Menu Widget or Side Navigation Templates, as it gives a clear structure to the pages on your website. You can create a child page by first creating a page, then edit it and choose the parent page from the screen options menu. Here are a few things to keep in mind:

In WordPress, a parent page can have many child pages and contain many child pages. When you create a child page, it will appear as a dashed line underneath the parent page. It is important to note that child pages cannot be created under reserved slugs. The parent page is also visible in the default site menu. However, if you want to create a dropdown menu to display specific pages on your website, you should first create a custom menu for it.

Creating a child page in WordPress is fairly simple. Once created, it does not affect the front-end of your blog or the views. Since it is an additional page, it does not display automatically on your parent page. Therefore, your homepage will remain childless. To make the process easier, we have a tutorial to show you how to index child pages in WordPress. You can also find a free plugin to do this task for you.