if ( '' != get_the_post_thumbnail() ) : // As recommended from the WP codex, to avoid potential failure of has_post_thumbnail()
?><div class="thumbnail"><?php
?><a href="<?php get_permalink() ?>"><?php
the_post_thumbnail('large', array('class' => 'scale-with-grid'));
?></a></div><?php
endif;
bu kısmı silmeyi dener misiniz