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:
parent
3624fa4fde
commit
79194cf2a2
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue