Support » Theme: Twenty Twelve » Duplicate Excerpt Thumbnails with twentytwelve

  • Resolved powegian


    I have been unable to display *single* thumbnails (one per excerpt) in my category excerpts. Example here:

    Note that there are 2 images per excerpt: one is rather large “featured image” cropped; the other is the proper thumbnail.

    I just upgraded from theme TwentyEleven to TwentyTwelve.
    With the TwentyEleven theme, it worked fine (though it wasn’t always clear which image would be used for the thumb).
    I’ve spent hours, read many posts and tried manual excerpts and various plugins to no avail. I am currently using the “Auto Excerpt everywhere” plugin.

    The only way i have gotten any excerpt thumbnails is to set a post feature image. And then I get the two images on the excerpt. It also (as expected) adds the unwanted cropped feature image at the top of the post (example: ) .

    Any help would be greatly appreciated.
    I am not php, html or css literate, though I do have a child theme set up and can edit.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    edit content.php in your child theme;

    and remove line 18:

    <?php the_post_thumbnail(); ?>

    this would remove the larger featured image from the blog and archives and search and single post …

    if you want to keep that featured image in some of those pages, you need to use a conditional statement – please post again with details.

    That worked!!
    Thanks Alchymyth!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate Excerpt Thumbnails with twentytwelve’ is closed to new replies.