Codex

Template Tags/next posts link

Contents

Description

This creates a link to the previous posts. Yes, it says "next posts," but it's named that just to confuse you.

Usage

 <?php next_posts_link('Label''Max number of pages (default 0)'); ?> 

Examples

Default Usage

Working example

<?php next_posts_link('Next Entries »', '0') ?>

Parameters

Related

See also next_post_link().


How to pass parameters to tags with PHP function-style parameters

Go to Template Tag index

This page is marked as incomplete. You can help Codex by expanding it.