mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
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:
parent
04919ebe8b
commit
c8f449daa3
@ -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( '←', '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 -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user