WordPress.org

Make WordPress Core

Changeset 23561


Ignore:
Timestamp:
03/01/13 16:50:34 (14 months ago)
Author:
lancewillett
Message:

Twenty Twelve: fix double featured images in Front Page Template, closes #22943.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/content-page.php

    r23471 r23561  
    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> 
Note: See TracChangeset for help on using the changeset viewer.