Tag Info

New answers tagged

2

Firstly, it should be post_excerpt. Secondly, this just stores the manually added excerpt, so it returns empty if you don't have one. Thirdly, you could setup_postdata: <?php $pagechildren = get_pages( array( 'child_of' => $post->ID ) ); ?> <?php foreach ( $pagechildren as $post ) : setup_postdata( $post ); ?> // code ...



Top 50 recent answers are included