Twenty Thirteen: proper alignment for featured images on pages with a sidebar. Props kwight, fixes #23527.

git-svn-id: https://develop.svn.wordpress.org/trunk@23460 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-02-20 04:32:31 +00:00
parent f134c857b1
commit 393b33a6a3
1 changed files with 7 additions and 7 deletions

View File

@ -20,15 +20,15 @@ get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<header class="entry-header">
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>