WordPress plugin intelligence profile

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 …

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.2
Current version1.0.3
WordPress coverageTested up to WordPress 5.2
Minimum stackWP 2.8.0 · PHP —
Directory statusactive
Last directory update19 May 20197y ago
Active installations30Adoption metric — not a quality score
WordPress.org rating4.2 / 5 from 5 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 A Year Before version 1.0.3 as active, updated 7y ago and tested up to WordPress 5.2.

Overview

About this plugin

With “A Year Before” you can show the titles of the articles which were written a certain time ago. 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&parameter2=value2&parameter3=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 />.

");

The titles of the articles written half a year and two weeks before, also showing the date. «

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

Looks up a year back for written articles. If none are found, the plugin will check the next 14 days in the future. If a article is found on some of this days, all articles of this day will be listed with a “year-month-day”-format.

ayb_posts("anniversary=1");

Shows the title of all posts, which were posted on the same day in the same month, independend of the year. g. on chistmas day you will see all posts, which are posted on december 24th since the blog was started.

Styling

If you like CSS, you can style the date with the class ayb_date, the link of the article with the class ayb_link and the notfound-message by using the class ayb_notfound.

Uninstall

Deactivate the plugin, then select “delete” in the plugin-panel. The files and the options of this plugin will be deleted. Thank you for using “a year before”.

😉

WordPress.org metadata

Plugin tags

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

  • date
  • history
  • posts
  • time
  • widget
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.2

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

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.2
Minimum requirementsWordPress 2.8.0 · PHP not listed
Update activity19 May 20197y 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.