Twitter have a really cool built-in function that display time from now, like “3 days ago” or “more than a month ago”. Doing so with WordPress is not hard using some PHP. This small code snippet will help you to display the time ago for WordPress post if your post was published less than 24 hours ago. The completed code you need is updated in this post. Check the post and Enjoy!!