Ready to get started?Download WordPress

Plugin Directory

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: 2013-9-18
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.