Skip to content
This repository
Browse code

Explicit is better than implicit.

  • Loading branch information...
commit 2b1b9cb27126c7804e0c964e0c7a6fa25c78f459 1 parent 5535179
Chris Amico authored November 07, 2011

Showing 2 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 2  archive.php
  2. 4  loop.php
2  archive.php
@@ -37,7 +37,7 @@
37 37
     <?php endif; ?>
38 38
 </h3>
39 39
 
40  
-<nav>		
  40
+<nav>
41 41
 <ul class="list-pagination">
42 42
     <li class="older-posts"><?php next_posts_link( 'Older posts' ); ?></li>
43 43
     <li class="newer-posts"><?php previous_posts_link( 'Newer posts' ); ?></li>
4  loop.php
@@ -104,9 +104,9 @@
104 104
 	<nav>
105 105
 		<ul class="list-pagination">
106 106
 		    <?php if ($next): ?>
107  
-		    <li class="older-posts"><?php next_posts_link( '&laquo; Older posts' ); ?></li>
  107
+		    <li class="older-posts"><?php next_posts_link( '&laquo; Older posts', $wp_query->max_num_pages ); ?></li>
108 108
 		    <?php endif; ?><?php if ($previous): ?>
109  
-		    <li class="newer-posts"><?php previous_posts_link( 'Newer posts &raquo;' ); ?></li>
  109
+		    <li class="newer-posts"><?php previous_posts_link( 'Newer posts &raquo;', $wp_query->max_num_pages ); ?></li>
110 110
 		    <?php endif; ?>
111 111
 		</ul>
112 112
 	</nav><!-- .list-pagination -->

0 notes on commit 2b1b9cb

Please sign in to comment.
Something went wrong with that request. Please try again.