Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Grid Query

// WP_Query arguments
$args = array (
	'post_parent'            => '$post->ID',
	'post_type'              => array( 'page' ),
);

// The Query
$grid = new WP_Query( $args );

// The Loop
if ( $grid->have_posts() ) {
	while ( $grid->have_posts() ) {
		$grid->the_post();
		// do something
	}
} else {
	// no posts found
}

// Restore original Post Data
wp_reset_postdata();