Please note that the plugin has now been updated to version 3.1.1.

My WordPress plugin, wp-days-ago, has been updated to version 3.0.0. The plugin displays the number of years, months, 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”, “3 months ago”, “3 months, 4 days ago”, “2 years, 13 days ago” and so on. It’s also possible to configure wp-days-ago to fall back to displaying the actual date and time when a post or page was published when a certain number of seconds after publishing time has been reached.

Cache plugins, like W3 Total Cache and WP Super Cache, are supported through the use of AJAX. This means that the plugin will show correct information even if the page is cached.

Changelog from 2.6.1 to 3.0.0:

  • Bugfix: Fixed some edge case bugs.
  • Change: Version 3.0.0 is a complete rewrite of the plugin. Functions from version 2.x are still available to ensure backwards compatibility and will continue to work as they used to, but bugs will not be fixed. It’s highly recommended that you start to use the _v3 methods described in the installation instructions if you upgade from version 2 or an even earlier version.
  • Change: Now supports translations, see included POT file if you want to translate the plugin into your language.

If you already have wp-days-ago installed you will be notified about an update when you log into the WordPress administration console. If you don’t have it installed you can download it from the WordPress plugin repository or from the WordPress plugin manager.