WordPress plugin intelligence profile

Smarter Archives

Easily navigate the yearly and monthly archives of your blog.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.5
Current version3.2.5
WordPress coverageTested up to WordPress 5.5
Minimum stackWP — · PHP —
Directory statusactive
Last directory update17 Aug 20206y ago
Active installations100Adoption metric — not a quality score
WordPress.org rating4.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Smarter Archives version 3.2.5 as active, updated 6y ago and tested up to WordPress 5.5.

Overview

About this plugin

When you use the [smarter-archives] shortcode anywhere in a post or a page, it gets replaced by a listing of every year since you started posting, with a list of links to each month for that year. However, the plugin is smart enough to know if you didn’t create any content in any given month, and doesn’t make a link for that month. See the Screenshots section for an example of it in action.

See the Usage section for a complete list of the arguments the shortcode takes, and how you can use them to customize your archives listing.

The month names are internationalized with the WordPress translation API. A POT file is included, and if you want to translate please feel free to do so and submit a new pull request on GitHub. If you do not know how to use GitHub, you can also contact me directly.

Here are the translations that have been done so far:

  • Dutch (nl_NL)
  • French (fr_FR)
  • German (de_DE)
  • Italian (it_IT)
  • Spanish (es_ES)
  • Russian (ru_RU)

The original concept for this plugin comes from a plugin by Justin Blanton.

Usage

The [smarter-archives] shortcode takes these arguments (default values included):

  • mode (default: output ) — if it’s set to output, the plugin prints the listing. Set it to false to return the value
  • wrapper_class (default: smart-archives ) — class given to the tag wrapped around the listing ( <div> by default)
  • wrapper_tag (default: div ) — tag wrapped around the listing
  • year_link_class (default: year-link ) — class given to each year links
  • year_tag (default: p ) — tag around each year group
  • year_class (default: none) — class for the tag around each year group
  • after_year (default:: ) — value after the year and before the list of months
  • month_link_class (default: month-link ) — class given to each month link
  • month_tag (default: span ) — tag around each month
  • after_month (default: &nbsp; ) — spacer between months
  • empty_month_class (default: empty-month ) — class applied to empty months (can use this to gray them out)
  • order (default: DESC ) — order the years are shown in ( ASC for ascending, DESC for descending)

Advanced Usage

There is a function, get_smarter_archives(), that returns the raw array with the years, months, and post counts. You can use this for ultimate customization.

Example Usage

[smarter-archives order="DESC" after_month="&bull;"]<h3>License</h3> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

txt.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • archive
  • archives
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.5
Minimum requirementsWordPress not listed · PHP not listed
Update activity17 Aug 20206y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.