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

git-svn-id: https://develop.svn.wordpress.org/trunk@23561 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-03-01 16:50:34 +00:00
parent 3624fa4fde
commit 79194cf2a2
1 changed files with 2 additions and 0 deletions

View File

@ -10,7 +10,9 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<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>