ID ), 'thumbnail'); if(has_post_thumbnail()){?> <?php echo the_title();?> Thumbnail not found!

2 ): $counter = 1; endif; endwhile; ?>