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: https://develop.svn.wordpress.org/trunk@2423 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9e7ef95b4c
commit
66f5cbe5df
@ -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
Block a user