WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by rob1n v3.2.5

Smarter Archives

Easily navigate the yearly and monthly archives of your blog.

Smarter Archives

The facts

Rating
4★ from 2
Active installs
100+
Price
Free
Last updated
17 Aug 2020
Added
Sep 2007
Tested up to
WP 5.5.20
Downloads
17,482

Our analysis

AI-assisted

Smarter Archives is a WordPress plugin that allows you to display a list of your posts organised by year and month using the [smarter-archives] shortcode. It intelligently excludes months where no content was created, providing a clean and relevant archive for your readers.

The plugin includes options for customising the output, such as changing the order of years, modifying HTML tags, and adding classes for styling. It supports internationalisation, making it suitable for multilingual sites.

Best for: This plugin is suitable for WordPress users looking to create a structured archive of their posts.

What it does well

  • Free to use from the WordPress.org directory
  • Excludes empty months from the archive listing
  • Customisable shortcode with various arguments
  • Supports internationalisation with translations available

Where it falls short

  • Last updated in August 2020, which may affect compatibility with newer WordPress versions
  • Limited user ratings and active installs

Verdict

Smarter Archives offers a straightforward solution for displaying post archives, but its outdated status may be a concern for some users.

From the developer

rob1n's own description of Smarter Archives, lightly tidied.

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.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

A full version of the license is included with the plugin in license.txt.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for directory sites.

TablePress

Embed beautiful, accessible, and interactive tables into your WordPress website’s posts and pages, without hav...

Free 600k+ installs 5★ (4,625)
File Manager Pro

Best WordPress file manager without FTP access. Edit code with built-in editor, upload files, download plugins...

Free 100k+ installs 4.9★ (152)
User Profile Builder

Powerful user profile plugin to create front-end user registration forms, login &amp; user profile forms. Incl...

Free 40k+ installs 4.7★ (735)
Ultimate Member

Membership &amp; community plugin with user profiles, registration &amp; login, member directories, content re...

Free 200k+ installs 4.4★ (1,444)
Media Sync

Simple plugin to scan &quot;uploads&quot; directory and bring those files into Media Library.

Free 50k+ installs 4.7★ (86)
HireZoot

Create modern careers page, list jobs, and manage applications directly from your WordPress dashboard.

Free 30k+ installs 4.8★ (193)