Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix pagination errors for WP 2.8.2

  • Loading branch information...
commit fe961b37d1d8eade719d46b2ede8370f8e28579a 1 parent 75e9b98
@curtishenson authored
Showing with 6 additions and 6 deletions.
  1. +2 −2 archive.php
  2. +2 −2 index.php
  3. +2 −2 search.php
View
4 archive.php
@@ -79,8 +79,8 @@
<?php endif; ?>
<div class="navigation clearfix">
- <span class="alignleft"><?php posts_nav_link('','', __('&laquo; Previous Entries', 'checkmate')) ?></span>
- <span class="alignright"><?php posts_nav_link('',__('Newer Entries &raquo;', 'checkmate'),'') ?></span>
+ <span class="alignleft"><?php next_posts_link('« Previous Entries', '0') ?></span>
+ <span class="alignright"><?php previous_posts_link('Next Entries »', '0'); ?></span>
</div>
</div>
View
4 index.php
@@ -46,8 +46,8 @@
<?php endwhile; ?>
<div class="navigation clearfix">
- <span class="alignleft"><?php posts_nav_link('','',__('&laquo; Previous Entries', 'checkmate')) ?></span>
- <span class="alignright"><?php posts_nav_link('',__('Newer Entries &raquo;', 'checkmate'),'') ?></span>
+ <span class="alignleft"><?php next_posts_link('« Previous Entries', '0') ?></span>
+ <span class="alignright"><?php previous_posts_link('Next Entries »', '0'); ?></span>
</div>
<?php else : ?>
View
4 search.php
@@ -49,8 +49,8 @@
<?php endif; ?>
<div class="navigation clearfix">
- <span class="alignleft"><?php posts_nav_link('','',__('&laquo; Previous Entries', 'checkmate')) ?></span>
- <span class="alignright"><?php posts_nav_link('',__('Newer Entries &raquo;', 'checkmate'),'') ?></span>
+ <span class="alignleft"><?php next_posts_link('« Previous Entries', '0') ?></span>
+ <span class="alignright"><?php previous_posts_link('Next Entries »', '0'); ?></span>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.