blog_next_page()

Description

Returns a link to the next page. If there are no pages (or there is only one page), it will return nothing.

Usage

<?php echo blog_next_page(); ?>

Examples

Create a standard link

<a href="<?php echo blog_next_page(); ?>">Next Page</a>

How to hide the link if there are no pages

<?php if ( blog_next_page() ): ?>
<a href="<?php echo blog_next_page(); ?>">Next Page</a>
<?php endif; ?>

Related

blog_pagination()