WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Ralf v1.0.3

A Year Before

"A Year Before" shows a list of articles, which were written a certain time ago. So you can show in a history, what happend in your blog in …

A Year Before

The facts

Rating
4.2★ from 5
Active installs
40+
Price
Free
Last updated
19 May 2019
Added
Mar 2007
Requires WP
2.8.0
Tested up to
WP 5.2.26
Downloads
18,297

Our analysis

AI-assisted

A Year Before is a WordPress plugin that allows you to display titles of articles written on specific past dates. You can showcase content from your blog, such as what was published 30 days, 6 months, or a year ago. It also features an anniversary mode to highlight articles published on the same day and month in previous years.

The plugin can be used as a widget or integrated into your theme using a PHP function. Configuration is straightforward, with options to customize the output pattern for article titles, links, dates, excerpts, and thumbnails. It caters to users who want to enhance their blog with historical content.

Best for: This plugin is suitable for bloggers who want to highlight historical content on their site.

What it does well

  • Free to use from the WordPress.org directory
  • Offers both widget and PHP function integration
  • Customisable output patterns for article display
  • Includes an anniversary mode for past articles
  • Allows filtering of public and private posts

Where it falls short

  • Limited information available on features and usage
  • Last updated in May 2019
  • Directory score indicates potential issues with performance or support

Verdict

A Year Before provides a simple way to showcase past articles, but its last update and directory score may raise concerns for some users.

From the developer

Ralf's own description of A Year Before, lightly tidied.

With “A Year Before” you can show the titles of the articles which were written a certain time ago. So you can show in a “historical corner”, what happend in your blog e.g. 30 days, 6 months or a year before. You also can use the “anniversary-mode”, which will display all the posts through the years, which were written on this day and month.

You can use it as a wordpress-widget or put it in your theme as a php-function with parameters.

Configuration

Using the widget

Just click on the configuration-button of the widget an use the selfexplaining popup-dialog.
Use the output-pattern to define the look of the found articles. Possible patterns are:

  • %title% The title of the article
  • %link% The link to the article
  • %date% The date of the article
  • %excerpt% The excerpt of the article. You can define the number of displayed characters bei appending the number like %excerpt80%, which will display 80 characters.
  • %thumbnail% The featured image of the article.

Not using the widget

You can call the plugin with a PHP-statement in a WordPress-Theme and pass some parameters in this scheme
parameter1=value1¶meter2=value2¶meter3=value3 …

You can use the following parameters

  • day : the number of days ago you want to show the articles.
  • month : the number of month ago you want to show the articles.
  • year : the number of years ago you want to show the articles.
  • before : piece of HTML to insert before the title of the articles. Default <li>
  • after: piece of HTML to insert after the title of the articles. Default </li>
  • range: number of days the plugin will search back in the future (relative to the values of day, month and year above) for an article. Meant as a “round about this day”-feature. Default 0
  • showdate: shows the date (showdate=1) before every title or not (showdate=0)
  • dateformat : dateformat as used by PHP. Default ist the german shortform “d.m.y”
  • notfound: the text the plugin will output, if no article is found on the defined date.
  • anniversary: if set to 1, the plugin will display all articles ever blogged with the same number of day and month. The parameters “day”, “month”, “year” and “range” will be ignored if used.
  • private: show private posts? 0: only public posts 1: private and public posts 2: only private posts. Default 0
  • showpages: show pages? 0: No, 1: Yes. Default 0
  • posts_max: number of articles to be shown. 0 means ‘all’. Default 0

Examples

ayb_posts("day=30&before=&after=<br />&showdate=0");

Shows the titles of the articles written 30 days ago without showing the date. The articles will not been showed as a HTML-list but simply seperated by a linebreak <br />.

ayb_posts("month=6&day=14&notfound=Nothing blogged on this day.");

The titles of the articles written half a year and two weeks before, also showing the date . If there was no article written on that day, the output will be »Nothing blogged on this day.«

ayb_posts("range=14&dateformat=y-m-d");

Read the full description on the official page →

Tagged as