Posted By

paulund on 06/15/11


Tagged

time date wordpress twitter posts


Versions (?)

Twitter style “time ago” dates on posts in wordpress


 / Published in: PHP
 

Allows you to display a look like 5 days ago.

  1. Posted <?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . ' ago'; ?>

Report this snippet  

You need to login to post a comment.