• I’m using a child theme of twenty twelve and when I updated the theme, the featured image suddenly appears in my post (I removed it – with child theme files, of course – because I wanted it placed elsewhere). So now the featured image appears twice on each page. I had originally removed it from content.php (child theme file, as mentioned) but now it’s reappearing. Any tips? I’ve reverted back to old twenty twelve to fix it but would prefer to keep themes up to date where possible.
    Thanks everyone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you refering to “page” ?

    If so, you could overwrite content-page.php in your child theme. The recent version has one bug fix putting in the missing featured image for “page”, but I think most users have become used to not having it for “page”.

    Twentytwelve 1.1 content-page.php

    <header class="entry-header">
    	<h1 class="entry-title"><?php the_title(); ?></h1>
    </header>

    Twentytwelve 1.2 content-page.php

    <header class="entry-header">
    	<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
    	<?php the_post_thumbnail(); ?>
    	<?php endif; ?>
    	<h1 class="entry-title"><?php the_title(); ?></h1>
    </header>

    Thread Starter PostcardFoxy

    (@postcardfoxy)

    Thanks! and yes, sorry, I meant page. I will try that. The update means it appears twice and I need to remove it from content.php but couldn’t find where that was. So I’ll try your suggestion. Thank you again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘featured images creeping back in – why?’ is closed to new replies.