A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Used on single post permalink, this template tag displays a link to the next post which exists in chronological order from the current post. This tag must be used in The Loop.

Used on single post permalink pages pages, this template tag displays a link to the next post which exists in chronological order from the current post.

This tag must be used in The Loop.

Usage

next_post_link($format, $link, $in_same_cat = false, $excluded_categories = '');
history | excerpt history