Use next_posts_link() and previous_posts_link() instead of posts_nav_link() in default theme. http://mosquito.wordpress.org/view.php?id=1064
git-svn-id: http://svn.automattic.com/wordpress/trunk@2423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ef3ef052e6
commit
00e11b95f4
|
@ -30,8 +30,8 @@
|
|||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
@ -50,8 +50,8 @@
|
|||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
<h2 class="pagetitle">Search Results</h2>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
|||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
|
Loading…
Reference in New Issue