Title: Simple Relative Date
Author: danivalentin
Published: <strong>May 7, 2011</strong>
Last modified: May 7, 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/simple-relative-date.svg)

# Simple Relative Date

 By [danivalentin](https://profiles.wordpress.org/danivalentin/)

[Download](https://downloads.wordpress.org/plugin/simple-relative-date.zip)

 * [Details](https://frp.wordpress.org/plugins/simple-relative-date/#description)
 * [Reviews](https://frp.wordpress.org/plugins/simple-relative-date/#reviews)
 *  [Installation](https://frp.wordpress.org/plugins/simple-relative-date/#installation)
 * [Development](https://frp.wordpress.org/plugins/simple-relative-date/#developers)

 [Support](https://wordpress.org/support/plugin/simple-relative-date/)

## Description

This was based on [Lester Chan’s Relative Date plugin](http://lesterchan.net/wordpress/readme/wp-relativedate.html).

It tries to simplify things a bit. This plugin can:

 * Replace the_date() in the post
 * Replace get_comment_date() or comment_date() in the comments

Note that if your theme is writing the date in a different form, it won’t work. 
You have to
 replace its function call to one of the above (in the TwentyTen theme
for example, replace twentyten_posted_on() by the_date().

Also important to say that, comment replacement won’t work if you are using the 
default wp comment renderer because
 it calls get_comment_time() as well. You have
to do a customized callback function to use with wp_list_comments( array( ‘callback’
=> ‘your_customized_function_here’ ) ). (ok, maybe things were not simplified that
much :/)

There is a options page (under settings in the Admin) where you can choose which
dates you
 want to replace (posts/comments). Posts date are by default checked.

Portuguese translation included.

## Installation

 1. Upload `wp-simplerelativedate.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. If necessary, change the plugin’s options in the options page under settings menu.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Simple Relative Date” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ danivalentin ](https://profiles.wordpress.org/danivalentin/)

[Translate “Simple Relative Date” into your language.](https://translate.wordpress.org/projects/wp-plugins/simple-relative-date)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/simple-relative-date/),
check out the [SVN repository](https://plugins.svn.wordpress.org/simple-relative-date/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/simple-relative-date/)
by [RSS](https://plugins.trac.wordpress.org/log/simple-relative-date/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Last updated **15 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-relative-date/)
 * Tags
 * [date](https://frp.wordpress.org/plugins/tags/date/)[relative](https://frp.wordpress.org/plugins/tags/relative/)
   [time](https://frp.wordpress.org/plugins/tags/time/)
 *  [Advanced View](https://frp.wordpress.org/plugins/simple-relative-date/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/simple-relative-date/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/simple-relative-date/reviews/)

## Contributors

 *   [ danivalentin ](https://profiles.wordpress.org/danivalentin/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/simple-relative-date/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.danivalentin.net)