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

git-svn-id: http://core.svn.wordpress.org/trunk@23561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-03-01 16:50:34 +00:00
parent c7164e9f64
commit 3517820811
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>