Make WordPress Core

Changeset 2423


Ignore:
Timestamp:
03/09/2005 04:21:24 AM (19 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

Location:
trunk/wp-content/themes/default
Files:
3 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   
  • trunk/wp-content/themes/default/index.php

    r2417 r2423  
    2121
    2222        <div class="navigation">
    23             <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
    24             <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
     23            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
     24            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    2525        </div>
    2626       
  • trunk/wp-content/themes/default/search.php

    r2417 r2423  
    88       
    99        <div class="navigation">
    10             <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
    11             <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
     10            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
     11            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    1212        </div>
    1313
     
    2929
    3030        <div class="navigation">
    31             <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
    32             <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
     31            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
     32            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    3333        </div>
    3434   
Note: See TracChangeset for help on using the changeset viewer.