Get Listing of Child Pages of a WordPress Page
In a WordPress template, if you need to show listing of child pages of a parent page, you can use following code. the first block is the query arguments. Place this code at the top of your template. $args = array( ‘post_type’ => ‘page’, ‘posts_per_page’ => -1, ‘post_parent’ => $post->ID, ‘order’ => ‘ASC’, ‘orderby’ =>…