title: Wordpress get thumbnail of child page without content?
body: <p>I'm trying to show the child pages in wordpress of lets say page "A", and only show the featured image of each child page without the content or the title showing up..</p>
  
  <p>Right now I have this as my code</p>
  
  <pre><code>&lt;div id="primary" class="full-width"&gt;
      &lt;div id="content" role="main"&gt;
          &lt;?php query_posts(array('post_parent' =&gt; 7, 'post_type' =&gt; 'page')); while (have_posts()) { the_post(); ?&gt;
              &lt;?php if ( has_post_thumbnail() ) {?&gt;
                  &lt;a href="&lt;?php the_permalink(); ?&gt;" title="&lt;?php the_title_attribute(); ?&gt;" &gt;
                      &lt;?php echo the_post_thumbnail(large); ?&gt;
                  &lt;/a&gt;
              &lt;?php } else { ?&gt;
                  &lt;!-- Else Don't show anything --&gt;
              &lt;?php } ?&gt;
           &lt;?php } ?&gt;
  ...
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Everytime though below the thumbnail is the title of the child page and the content inside of it.</p>
  
  <p>Thanks!</p>