WordPress.org

Ready to get started?Download WordPress

Plugin Directory

wp-days-ago

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.

3.0.4.2

  • Change: Updated Dutch translation.

3.0.4.1

  • Bugfix: Added missing language files.

3.0.4

  • Added Bengali translation (thanks to Mahmud, C.E.O, S. M. Foundation).
  • Added French translation (thanks to Alondi Commanda, Alondi Consulting)

3.0.3

  • Added Dutch translation (thanks to Marjolein Boer, Pixelein).

3.0.2

3.0.1

  • Added Spanish (thanks to Andrew Kurtis, WebHostingHub), Turkish, Swedish and Norwegian (nynorsk) translations.

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.

2.6.1

  • Change: When calculating days, the plugin will now ignore the publishing time and only use the actual date.
  • Change: When calculating years, the plugin will now take into account leap years.

Both changes should lead to a more accurate output from the plugin.

2.6

  • New feature: Support for falling back to showing the date and time a post or page is published instead of "X days ago" and similar a configured number of seconds after the post or page is published. The feature is turned off by default, so if you are upgrading from a previous version of wp-days-ago, there is no need for you to change anything unless you want to use this new feature.

2.5.2

  • Bugfix: Fixed a major bug that happened when using the wp_days_ago method. Thanks to user heinnge for reporting this.

2.5.1

  • New feature: Added a threshold parameter to control when AJAX should be used and when the plugin should automatically fall back to the old way of displaying information. After a day, the plugin doesn't display any detailed information anyway so there is no need to strain the server with a lot of AJAX calls. The information displayed by wp-days-ago will of course be updated when your cache plugin invalidates the content and rebuilds it. The value of the wp_days_ago_ajax method threshold paramterer should match the configured invalidation threshold of your cache plugin.
  • Change: Optimized date calculation and database access code.

2.5

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

2.0.2

  • New feature: Added text "Some time in the future" for scheduled posts (visible in preview mode only).

2.0.1

  • Change: Removed some debug code that had made its way into the release.

2.0

  • New feature: The plugin now by default displays minutes and hours since a post or page was created.
  • Change: The $offset parameter from the 1.x version is now replaced with a $mode parameter that enables you to prevent the plugin from displaying the minutes and hours since a post or page was published and instead fall back to "Today" for everything published lest than 24 hours ago.

1.7.1

  • Changed some of the default texts so that they start with a capital letter.

1.7

  • Backwards compatible all the way back to WordPress 1.5.
  • The plugin now uses the internal WordPress timezone settings.
  • Added optional parameters that allows configuration of appended text, prepended text and the texts displayed by the plugin.

1.0

  • Initial version.

Requires: 2.1 or higher
Compatible up to: 3.9.2
Last Updated: 2014-8-7
Downloads: 8,355

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,2,2
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,2,2