Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Relative Date Template Tag

Gives developers two template tags for retrieving a relative date instead of an exact date for posts.

Adds the_relative_date() and get_the_relative_date() template tags to your arsenal of template tags.

These template tags will return the relative time passed since the post was published, like "12 hours ago" or "3 weeks ago."

Tag to Print Relative Time:

<?php the_relative_date(); ?>

Tag to Retrieve Relative Time:

<?php get_the_relative_date(); ?>

Requires: 3.5.0 or higher
Compatible up to: 3.5.2
Last Updated: 2 years ago
Active Installs: 30+


0 out of 5 stars


Got something to say? Need help?


Not enough data

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