Olá , eu tenho um problema que quando crio um artigo (post) e coloco imagem de destaque nele, também aparece quando abro o post e fica a imagem repetida.
Meu código do single.php é:
<?php get_header(); ?>
<div id="main">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></div>
<div class="post-date"><?php _e('Postado em ', 'AnimeArashi'); ?><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time(get_option('date_format').', '.get_option('time_format')) ?></a><?php _e(' Por ', 'AnimeArashi'); ?><?php the_author_posts_link(); ?></div>
<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<?php the_post_thumbnail('category-thumb', array('class' => 'alignnone')); ?>
</a>
<?php endif; ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php the_content('Leia mais ...'); ?>
</div>
<div class="authortek">
<?php echo get_avatar( get_the_author_meta( 'ID' ), 100 ); ?>
<div class="authortekinfo">
<h3><?php _e('Sobre', 'AnimeArashi'); ?> <?php the_author_posts_link(); ?></h3>
<p><?php the_author_meta('description'); ?></p>
</div>
</div>
<div class="commentstext"><?php
comments_popup_link( 'Sem comentários', '1 comentário', '% comentários', 'comments-link', '');
?> <?php _e('Categorias: ', 'AnimeArashi'); ?><?php the_category(', '); ?> <?php the_tags(); ?></div>
<div class="post-navigation">
<div class="previous-post"><?php previous_post_link( '%link', '' . _x( '←', 'Previous post link', 'newgamer' ) . ' %title' ); ?></div>
<div class="next-post"><?php next_post_link( '%link', '%title' . _x( ' →', 'Next post link', 'newgamer' ) . '' ); ?></div>
</div>
<div class="breaker"></div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'newgamer'); ?></p><?php endif; ?>
<?php wp_link_pages(array('next_or_number'=>'next', 'previouspagelink' => '&#38;#8592;', 'nextpagelink'=>'&#38;#8594;')); ?>
<?php comments_template(); ?>
</div>
<?php get_sidebar(); ?>
</div>
<div class="delimiter"></div>
<?php get_footer(); ?>