Adds two new template tags to output previous and next links on date archive pages.
As of April 2026, Adjacent Archive Links is a WordPress archive plugin with 10 active installations and a 5/5 rating from 2 reviews. It has been downloaded 3.1K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 10 years ago — may have compatibility concerns. Top alternative: Jetpack VaultPress.
After activating the plugin, you will have two new template tags at your disposal:
<?php previous_archive_link( 'format', 'link' ); ?>
<?php next_archive_link( 'format', 'link' ); ?>
They adapt their output depending on whether the date archive is a day, a month,
or a year, and they will only output a link for an adjacent time period in which you
have published posts. Both tags take two string parameters, format and link.
The format parameter defines what comes before and after the link. In it, %link
will be replaced with whatever is declared in the link parameter below. previous_archive_link
defaults to “« %link” and next_archive_link defaults to “%link »“.
The link parameter defines the link text. Both tags default to “%date…
| WordPress | 3.0+ requiredTested up to 4.2.39 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.