How to update "Time Ago" function?
I came across this article http://techably.com/dynamic-wordpress-time-format/3693/.
It works nicely, so far it displays the time as “Posted 30 minutes ago”, cool.
The issue is that I want it to say “Just now” if it was published less than 30 seconds to 1 minute ago.
I’d also want to display hours, days, weeks, months, and years ago. But this function is very limited, after a certain amount of time the regular date is displayed.
How can I tweak the code up a bit to accomplish this?…
- The topic ‘How to update "Time Ago" function?’ is closed to new replies.