Hello, I am making a wordpress theme and I would like to know how to display the time like Twitter does. For example: 1 minute ago, 5 minutes ago, 1 hour ago, and then if it has been more than 1 day ago it displays the actual date of the post (October 1st, 2010 or whatever I put for the time).
I know I can use PHP or put it in the functions.php however I am just starting out. How can I accomplish this? I appreciate the help!
- The topic ‘Twitter-Like Time Ago’ is closed to new replies.