我想拉某个页面的所有子标题,并将它们作为链接。到目前为止,我得到的是:
$my_wp_query = new WP_Query();
$all_wp_pages = $my_wp_query->query(array(\'post_type\' => \'page\'));
// Get the page as an Object
$oferta = get_page_by_title(\'Oferta\');
// Filter through all pages and find Portfolio\'s children
$all_children = get_page_children( $oferta->ID, $all_wp_pages );
echo \'<pre>\' . print_r( $_children, true ) . \'</pre>\';
现在,如何从$all\\u children获取页面标题?