<?php $child_posts = query_posts( 'numberposts=-1&order=ASC&orderby=post_title&post_type=page&post_parent=' . $post->ID ); if ( $child_posts ) { foreach ( $child_posts as $child ) { $child_posttitle = apply_filters( 'the_title', $child->post_title ); $child_permalink = apply_filters( 'the_permalink', get_permalink( $child->ID ) ); $child_excerpt = apply_filters( 'the_excerpt', $child->post_excerpt
![WordPressで親ページに子ページの一覧を表示する方法 - よつば手帖](https://cdn-ak-scissors.b.st-hatena.com/image/square/b78185a0d3ecfd7045958e887fafe5031ae8774c/height=288;version=1;width=512/https%3A%2F%2Fyotsuba-d.com%2Fblog%2Fwp-content%2Fuploads%2F2014%2F05%2Fef08eb0e3cb4d6f5a9bfc2b585375b86.jpg)