WordPress.org

Plugin Directory

WP-RelativeDate

Displays relative date alongside with your post/comments actual date.

  1. Open wp-content/plugins Folder
  2. Put: Folder: wp-relativedate
  3. Activate WP-RelativeDate Plugin

General Usage

You need not do anything. WP-RelativeDate will automatically modify your post/comment date or time display. No text will be added if the post or comment is more than a month old.

It will add the following text accordingly: * Post/Comment Date * Today * Yesterday * X days ago * X weeks ago * Post/Comment Time * X seconds ago * X minutes ago * X hours ago

Examples

  • Post/Comment Date
    • Today
    • Yesterday
    • 10th January 2007 (2 days ago)
    • 25th January 2007 (2 weeks ago)
  • Post/Comment Time
    • 21:10 (2 seconds ago)
    • 21:15 (5 minutes ago)
    • 22:15 (2 hours ago)

Shortcodes

  • [relativedate]
    • [relativedate date_format="jS F Y" ago_only="false"]
  • [relativetime]
    • [relativetime time_format="H:i" ago_only="false"]

Requires: 2.8 or higher
Compatible up to: 4.2.2
Last Updated: 2015-4-21
Active Installs: 1,000+

Ratings

1 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.

50,2,1
100,1,1
0,1,0
100,1,1
0,1,0