In Twenty Ten, give single.php a valid loop. fixes #13279.

git-svn-id: https://develop.svn.wordpress.org/trunk@14476 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-06 17:34:17 +00:00
parent 04919ebe8b
commit c8f449daa3
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<div id="container">
<div id="content">
<?php the_post(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
@ -78,6 +78,8 @@
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #container -->