How to Use Fuzzy Dates For WordPress Posts

Many social networking sites display dates and times as relative to the current day- ie. ‘Today’, ‘Yesterday’, ‘2 Days Ago’, ‘2 Weeks Ago’, ‘2 ‘Seconds Ago’, ‘2 Minutes Ago’, ‘2 Hours Ago’.

You can do this too with your WordPress updates. Grab the WP-Relative Date plugin and install it. Then, open your index.php, single.php, page.php or any other file using the_date and edit as follows:

Replace this:

{code type=php}

With this:

{code type=php}

Now you should have “fuzzy” dates for your updates. :)