WordPress.org

Forums

Twenty Twelve featured image issue (1 post)

  1. sbbn
    Member
    Posted 2 years ago #

    When I use a picture in my blog post that I ALSO want as a featured image, that picture shows up twice in TwentyTwelve, once at the very beginning of the post and then later where I inserted it as an illustration on my post. There was some code posted on another thread that took care of the issue by creating a child theme and in the content.php file, commenting out the thumbnail code.

    Here is the thread:

    wordpress.org/support/topic/twenty-twelve-featured-image-showing-up-twice

    As you can see, the solution was to replace this in content.php:

    <?php the_post_thumbnail(); ?>

    with this:

    <?php // the_post_thumbnail(); ?>

    I asked for clarification of what that exactly did, but I think esmi was telling me I needed to start my own thread, so here it is. My questions:

    1. Featured images are used in various widgets. When commenting the code out as was suggested in the above thread, does that mean it disables ALL thumbnail images all the time?

    2. What I really want to do in TwentyTwelve is use an image as an illustration in the post AND mark it as a Featured Image so that if, for example, someone on another blog has my blog listed in an RSS feed on a sidebar widget, the Featured Image shows up as a thumbnail.

    Is this possible?

Topic Closed

This topic has been closed to new replies.

About this Topic