Plugin Name

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

Author:Eric Allen (profile at wordpress.org)
WordPress version required:3.5.0
WordPress version tested:3.5.2
Plugin version:1.0.6
Added to WordPress repository:01-04-2013
Last updated:18-09-2013
Warning! This plugin has not 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.
Rating, %:0
Rated by:0
Plugin URI:https://github.com/ericrallen/wp-relative-dat...
Total downloads:1 035
Active installs:10+
plugin download
Click to start download

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(); ?>