The following snippet will output the children of a parent page. Change ‘000’ to the page ID.


 'page', 'post_parent' => '000', 'orderby' => 'title', 'order' => 'asc', 'posts_per_page' => -1 );
$loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?>

    
    
    



Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.