This version of wp-days-ago was quickly followed by a 2.5.1 maintenance release.

My WordPress plugin, wp-days-ago, has been updated to version 2.5. New in this version is that cache plugins, like W3 Total Cache and WP Super Cache, are supported through the use of AJAX.

This plugin displays the number of years, days, hours and minutes since a post or a page was published in the same format as Facebook, Twitter etc. Examples are “Just now” (less than a minute ago), “47 minutes ago” (less than an hour ago), “3 hours ago” (less than a day ago), “Yesterday”, “3 days ago”, “One week ago”, “76 days ago”, “2 years, 13 days ago” and so on. It’s also possible to make the plugin behave like the 1.x version and turn off displaying minutes and hours. The plugin will then fall back to “Today” for everything published less than 24 hours ago and not display minutes and hours. There are options for defining a prepending and appending text and change all the textual output from the plugin, for instance “minutes ago” and “One week ago”, making it easy for you to translate it to any language you want.

Changelog from 2.0.2 to 2.5:

  • New feature: Cached sites are now supported through the use of the wp_days_ago_ajax function.
  • Change: Minimum required version of WordPress is now 2.1.

Get the latest version from the WordPress plugin repository or use WordPress' plugin update functionality if you already use wp-days-ago.