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

git-svn-id: http://core.svn.wordpress.org/trunk@23460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-02-20 04:32:31 +00:00
parent 33034aff5f
commit 6263d728ec
1 changed files with 7 additions and 7 deletions

View File

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