title: Add a pages featured image to a foreach loop
body: <p>I've got a foreach loop that is displaying a list of subpages Title, Content and URL. I can't seem to display the featured image though! Here's what I have:</p>
  
  <pre><code>&lt;?php
  $pageChildren = get_pages('sort_column=menu_order&amp;hierarchical=0&amp;child_of='.$post-&gt;ID);
  if ( $pageChildren ) {
  foreach ( $pageChildren as $pageChild ) {
  echo '&lt;div style="position:relative;float:left;width:100%;margin:0 0 20px 0;border-bottom:1px dashed #cdcdcd;padding:0 0 20px 0"&gt;';
  //FEATURED IMAGE HERE
  echo '&lt;a class="newstitle" href="' . get_permalink($pageChild-&gt;ID) . '"&gt;' . $pageChild-&gt;post_title.'&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;';
  if (!empty($pageChild-&gt;post_content)){
          echo '&lt;p&gt;'.$pageChild-&gt;post_content.'&lt;/p&gt; ';
          echo '&lt;a class="readmore" href="' . get_permalink($pageChild-&gt;ID) . '" style="float:left"&gt;Read More &amp;raquo;&lt;/a&gt;';
      }
      echo '&lt;/div&gt;';
  }
  }
  ?&gt;
  </code></pre>