Permalink
Browse files

Explicit is better than implicit.

  • Loading branch information...
1 parent 5535179 commit 2b1b9cb27126c7804e0c964e0c7a6fa25c78f459 @eyeseast eyeseast committed Nov 7, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 archive.php
  2. +2 −2 loop.php
View
@@ -37,7 +37,7 @@
<?php endif; ?>
</h3>
-<nav>
+<nav>
<ul class="list-pagination">
<li class="older-posts"><?php next_posts_link( 'Older posts' ); ?></li>
<li class="newer-posts"><?php previous_posts_link( 'Newer posts' ); ?></li>
View
@@ -104,9 +104,9 @@
<nav>
<ul class="list-pagination">
<?php if ($next): ?>
- <li class="older-posts"><?php next_posts_link( '&laquo; Older posts' ); ?></li>
+ <li class="older-posts"><?php next_posts_link( '&laquo; Older posts', $wp_query->max_num_pages ); ?></li>
<?php endif; ?><?php if ($previous): ?>
- <li class="newer-posts"><?php previous_posts_link( 'Newer posts &raquo;' ); ?></li>
+ <li class="newer-posts"><?php previous_posts_link( 'Newer posts &raquo;', $wp_query->max_num_pages ); ?></li>
<?php endif; ?>
</ul>
</nav><!-- .list-pagination -->

0 comments on commit 2b1b9cb

Please sign in to comment.