wp-days-ago v2.5

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.


This post has no feedback yet.

Do you have any thoughts you want to share? A question, maybe? Or is something in this post just plainly wrong? Then please send an e-mail to vegard at vegard dot net with your input. You can also use any of the other points of contact listed on the About page.


It looks like you're using Google's Chrome browser, which records everything you do on the internet. Personally identifiable and sensitive information about you is then sold to the highest bidder, making you a part of surveillance capitalism.

The Contra Chrome comic explains why this is bad, and why you should use another browser.