• Resolved bc83

    (@bc83)


    Hi,

    I have both a featured image, and image selected in the post. They work as expected on the homepage of the blog (featured image only), and when I click into an individual post (image in post only). However, when I click on a Category, and it pulls all associated blog posts, both the featured image and the blog image appear. You can see an example here: http://www.homebartender.co/category/recipes/

    How do I make sure only one of the images shows up in a Category list?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    I looked into your site for the issue.

    You dont really need to insert the image to the post. The featured image used should be showing in the home page, single post and then category page.

    Please remove the image from inside the post and check your content-single.php if the file has the following line at line number 20.

    <?php if ( (has_post_thumbnail()) && ( get_theme_mod( 'athemes_post_img' )) ) : ?>
    		<div class="entry-thumbnail">
    			<?php the_post_thumbnail(); ?>
    		</div>
    	<?php endif; ?>

    Thanks

    Thread Starter bc83

    (@bc83)

    Thanks for your feedback. It still didn’t quite fix the issue since I need an image in a single post. However, just moving the blog image further down the post past the :Read More” line eliminated the problem. Thanks again.

    You are welcome.

    But if you are comfortable with coding. You can look into my suggestion too.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Featured image shows up on categories’ is closed to new replies.