wordpress snippets last updated   : October 6, 2014
we now have 641 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