post_parent == 0 ) {
$child_posts = get_posts( ‘numberposts=-1&order=ASC&orderby=post_title&post_type=page&post_parent=’ . $post->ID );
if ( $child_posts ) {
foreach ( $child_posts as $child ) {
$c_postname = $child->post_name ;
$c_content = get_extended( $child->post_content );
$c_content = apply_filters( ‘the_content’, $c_content[‘main’] );
?>

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です