WordPress.org

Ready to get started?Download WordPress

Plugin Directory

A While Ago

Show timestamp for a post or page using a relative description (e.g. "Hours ago", "5 days ago").

Show timestamp for a post or page using a relative description (e.g. "Hours ago", "5 days ago"). The strings can be be changed easily for translations, and custom text can be prepended or appended to the timestamp.

The rules for the descriptions are (along with the default strings):

  • Within the last 60 minutes: "Moments ago"
  • Within the last 8 hours: "Hours ago"
  • Today: "Today"
  • Yesterday: "Yesterday"
  • 3-6 days ago: "4 days ago"
  • 1-8 weeks ago: "5 weeks ago"
  • 2-11 months ago: "7 months ago"
  • 1-4 years ago: "2 years 5 months ago"
  • 4 or more years ago: "4 years ago"

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-5-19
Downloads: 321

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1