wordpress relative dates

Relative dates for posts and comments in WordPress

Calendar dates are nice but relative dates (i.e 1 day ago) can be more attractive. You may have noticed relative dates in Twitter and Facebook status updates. You can also display relative dates for posts and comments without using a WordPress plugin. In your Theme’s functions.php file, add the following snippet: The above snippet can

Read more→