WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] Duplicate Excerpt Thumbnails with twentytwelve (3 posts)

  1. powegian
    Member
    Posted 1 year ago #

    I have been unable to display *single* thumbnails (one per excerpt) in my category excerpts. Example here: http://richardbecker.com/category/sculpture-projects

    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: http://richardbecker.com/sculpture-projects/sg2012 ) .

    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

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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.

  3. powegian
    Member
    Posted 1 year ago #

    That worked!!
    Thanks Alchymyth!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic