Codex tools: Log in
Contents |
Return a link to the set of posts of the current page.
<?php echo get_next_posts_link( $label, $max_page ); ?>
Link to next page if successful, otherwise null.
<?php echo get_next_posts_link(); ?>
<?php echo get_next_posts_link('Go to next page'); ?>
<?php echo get_next_posts_link('Go to next page',4); ?>
Since 2.7.0
get_next_posts_link() is located in wp-includes/link-template.php.
Pagination: posts_nav_link(), next_posts_link(), previous_posts_link(), get_next_posts_link(), get_previous_posts_link(), paginate_links() wp_link_pages(), next_post_link(), previous_post_link(), next_image_link(), previous_image_link(),