Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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