<?php $pages = get_pages('child_of='.$post->ID.'&sort_column=post_date&sort_order=desc&parent='.$post->ID); $count = 0; foreach($pages as $page) { $content = $page->post_content; if(!$content) continue; if($count >= 2) break; $count++; ?>
<div class="feature_product">
<a href="<?php echo get_page_link($page->ID) ?>"><h2><?php echo $page->post_title ?></h2></a></div>
<?php
}
?>
Hope that helps! I only call the title in this example. But you can also call the content within the “feature_product” div!