The last “Time Ago” function is short of few things, how about facebook style “Time ago” for posts and comments in wordpress. The last function that I wrote didn’t calculate for years, for example if I like to display “2
Display “Time Ago” for Posts and Comments in WordPress
Most of the templates for WordPress displays author info, tags, date and sometimes time also in every posts. If you had ever thought of displaying time in facebook style, here is a solution for you. Open functions.php, from the themes