Displaying Relative Dates in WordPress

Posted on July 16th, 2011

In order to display relative dates in wordpress all you need to do is to dowload the WP-Relative Date plug in and and then replace the existing code with a different one.

The existing code would be <?php the_date(); ?> replace it with the below code :

<?php relative_post_the_date(); ?>