How to Display a List of Child Pages For a Parent Page in WordPress
Check Out More At: WP Beginner
WordPress: Best WordPress Plugins | WordPress Tutorials
How to Display a List of Child Pages For a Parent Page in WordPress
Product Image | Product Name / Primary Rating / Price | Primary Button / Description |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Elementor is an amazing website builder plugin for WordPress. Elementor makes it easy to create beautiful and high converting websites yourself without having to learn code.
Gravity Forms is a WordPress plugin that creates powerful forms quickly and easily, with drag-and-drop fields, custom notifications and confirmations, and custom styling capability.
Kadence Theme is a powerful, intuitive and flexible WordPress theme that offers an expansive set of features and customization options.
It includes a robust page builder, beautiful design options, mobile-friendly responsiveness, powerful SEO tools and optimized performance for faster loading times.
It's perfect for creating stunning websites without needing to write any code.
Cloudways is a managed cloud hosting platform that simplifies cloud infrastructure deployment and management.
It provides an intuitive dashboard, automated backups and optimized stack for speedy performance. It also provides 24x7 support with multiple server locations, enabling businesses to host their applications quickly and securely.
Assuming you’re using a self-hosted WordPress site (vs WordPress.com), you can follow the steps below to display a list of child pages for a parent page in WordPress. This can be useful for things like creating a table of contents page or listing similar articles under a parent topic.
1) Log in to your WordPress site and go to the Dashboard.
2) In the left-hand sidebar, click on Pages.
3) Find the page you want to list child pages for in the list of pages and hover your mouse over it.
4) In the drop-down menu that appears, click on “Add Subpage.”
5) Enter the title and content for your first child page.
6) When you’re finished, click on the “Publish” button.
7) Repeat steps 4-6 for each child page you want to create.
8) Once you’ve created all of the child pages, go to the parent page.
9) In the content editor, type in the following shortcode: [wplistpages], which will display a list of all child pages for that parent page.
10) Publish the page and view it on the front-end of your site to see the list of child pages.