previous_posts_link

POST LINK TAG

What It Does

Displays a link to the next posts. Note that the name “previous_posts_link” can be confusing. You may also want to read next_posts_link.

Code

<?php previous_posts_link(‘anchor’, ‘maxpages’) ?>

Anchor

The anchor text to be used for the link.

Maxpages

The maximum number of pages to link to. “0″ is unlimited.

Example

<?php previous_posts_link(‘« Previous Posts’, ’0′) ?>