< ?php // Start the loop. while ( have_posts() ) : the_post(); if ( has_post_thumbnail( $_post->ID ) ) { ?>
< ?php the_title();?>
< ?php the_content();?>
< ?php // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; // End the loop. endwhile; ?>