Make WordPress Core


Ignore:
Timestamp:
03/09/2005 04:21:24 AM (20 years ago)
Author:
ryan
Message:

Use next_posts_link() and previous_posts_link() instead of posts_nav_link() in default theme. http://mosquito.wordpress.org/view.php?id=1064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/archive.php

    r2417 r2423  
    3131
    3232        <div class="navigation">
    33             <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
    34             <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
     33            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
     34            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    3535        </div>
    3636
     
    5151
    5252        <div class="navigation">
    53             <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
    54             <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
     53            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
     54            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    5555        </div>
    5656   
Note: See TracChangeset for help on using the changeset viewer.