Попробуй с этим.Должно работать, чтобы: 1. Получить все страницы с родительским $ ancestor_id. 2. Свернуть результаты и повторить заголовок страницы и миниатюру.
$ancestor_id = 29;
$pg_args = array(
'sort_order' => 'asc',
'sort_column' => 'post_title',
'hierarchical' => 1,
'exclude' => '',
'include' => '',
'meta_key' => '',
'meta_value' => '',
'authors' => '',
'child_of' => 0,
'parent' => $ancestor_id,
'exclude_tree' => '',
'number' => '',
'offset' => 0,
'post_type' => 'page',
'post_status' => 'publish'
);
$pages = get_pages($pg_args);
foreach($pages as $page){
echo $page->post_title;
echo get_the_post_thumbnail($page);
}