wordpress snippets last updated   : January 29, 2015
we now have 646 snippets

Display twitter like time

wordpress snippet

Adding the function to your functions.php in your wordpress theme. Then replace the_time(); in your theme with the second PHP snipp time_ago();. Time format will then display “3 days ago, more than a month” etc.

read more