mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-13 15:20:06 +01:00
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:
parent
4aca3c1e89
commit
4c0967bdf7
@ -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
Block a user