X

Comment time

Adding this to the comments file of your wordpress theme will display the time a comment was posted.



Code Snippet:


<?php
comment_time('H:i:s');
?>

Comments  Leave a Reply

  1. Hey mate! Is it possible to show the comment’s post thumbnail? i have set up a sidebar widget of the latest 5 comments, and would like to show the post thumbnail that the user commented on. Make sense? possible?

    Example** fake_name commented on (post thumbnail)

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!