How to Display a List of Child Pages For a Parent Page in WordPress



There are some methods to show youngster pages and you might have considered trying to present all of them collectively. Be it in a widget, the mother or father web page, or one other location in your template. In this video we are going to present you the way to show a record of youngster pages for a mother or father web page.

If you favored this video, then please Like and think about subscribing to our channel for extra WordPress movies.

Text model of this tutorial:

Check us out on Facebook:

Follow us on Twitter:

Join our circle on Google+:

Checkout our web site for extra WordPress Tutorials

Summary of this Tutorial:

Start by guaranteeing you’ve gotten a youngster web page by setting a mother or father web page in the web page attributes.

Next go to edit your features.php file in your theme.

Add the code from our tutorial web page:

It checks to see in case your web page has a mother or father web page or whether it is a mother or father web page and shows the kid pages.

If it isn’t a mother or father or youngster web page it does nothing.

Then it provides a shortcode to make show simpler.

Related Links:

Functions.php

source WordPress Tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *