Template tags (for use in single.php) to create post navigation loop (previous to first post is last post; next/after last post is first post).
As of April 2026, Loop Post Navigation Links is a WordPress next plugin with 600 active installations and a 5/5 rating from 12 reviews. It has been downloaded 22K+ times in total. Requires WordPress 4.9+ and PHP false+. Available on WordPress.org since 2009. Last updated 5 years ago — may have compatibility concerns. Top alternative: Ambrosite Next/Previous Post Link Plus.
This plugin provides two template tags for use in single.php to create a post navigation loop, whereby previous to the first post is the last post, and after the last post is first post. Basically, when you’re on the last post and you click to go to the next post, the link takes you to the first post. Likewise, if you’re on the first post and click to go to the previous post, the link takes you to the last post.
The function c2c_next_or_loop_post_link() is identical to WordPress’s next_post_link() in every way except when called on the last post in the navigation sequence, in which case it links back to the first post in the navigation sequence.
The function c2c_previous_or_loop_post_link() is identical to WordPress’s previous_post_link() in every way except when c…
| WordPress | 4.9+ requiredTested up to 5.5.18 |
| PHP | false+ required |
Highlights:
This minor update has some minor tweaks that should go unnoticed, restructures unit test file structure, adds a TODO.md file, and notes compatibility through WP 5.5+.
Details:
phpunit/ to house all files related to unit testingbin/ to phpunit/bin/…and 7 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.