This plugin is outdated and might not be supported anymore
Adjacent Archive Links

Adjacent Archive Links

Details
View on WordPress

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 “&laquo; %link” and next_archive_link defaults to “%link &raquo;“.

The link parameter defines the link text. Both tags default to “%date“, the
adjacent archive page’s localized date.

If you’re interested in contributing to the code behind this plugin, it’s also hosted on GitHub:
https://github.com/justincwatt/wp-adjacent-archive-links

Details

Plugin code:
adjacent-archive-links
Plugin version:
3.0
Outdated:
Yes
WP version:
3.0 or higher
PHP version:
or higher
Test up to WP version:
4.2.38
Total installations:
10
Last updated:
2015-05-18
Rating:
Times rated:
2
archive
archives
date-archives
navigation
template-tag