In Twenty Ten, give single.php a valid loop. fixes #13279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0a71b5dc8a
commit
7df4cd20a1
|
@ -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…
Reference in New Issue