WordPress.org

Make WordPress Core

Ticket #22943: 22943.3.patch

File 22943.3.patch, 577 bytes (added by lancewillett, 14 months ago)

Fixes issue with duplicate image in front page template display

  • wp-content/themes/twentytwelve/content-page.php

     
    1010 
    1111        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    1212                <header class="entry-header"> 
     13                        <?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?> 
    1314                        <?php the_post_thumbnail(); ?> 
     15                        <?php endif; ?> 
    1416                        <h1 class="entry-title"><?php the_title(); ?></h1> 
    1517                </header> 
    1618