Comments doesn't show time
-
The issue is in your template. It has only the code for the date, not the time.
How do I make it work?
How to add time code?http://codex.wordpress.org/Forum_Welcome#Include_as_much_information_as_possible
what theme are you using?
Themes where doesn’t work:
Brennius
Revivalas both mentioned themes are commercial themes, please contact the theme’s developers for help with your question;
http://codex.wordpress.org/Forum_Welcome#Commercial_Products
genrally, the theme would need to use a callback function for the ‘wp_list_comments()’ function, where you would need to expand the code to show the time as well;
http://codex.wordpress.org/Function_Reference/wp_list_commentsan example for a callback function see for example in the theme Twenty Eleven in functions.php
Given the little information, here is the pseudo way: find where the commenting template information is, and stick get_comment_date(), get_comment_time() where you want the date and time to appear.
Given the little information, here is the pseudo way: find where the commenting template information is, and stick get_comment_date(), get_comment_time() where you want the date and time to appear.
I also thought about this method, so I can just edit comments.php file.
I want them to appear at the same place where it shows months and day, but how do I find where to place the code so I don’t mess it up?
Looks like the developer would be the one to help you:
http://themeforest.net/item/revival-clean-magazine-blog-theme/7915145
http://codex.wordpress.org/Forum_Welcome#Commercial_Products
Well, I’m pretty sure there’s someone on the forum, who might be able to help to tell where how insert the coding .
The topic ‘Comments doesn't show time’ is closed to new replies.
(@zweii)
11 years, 2 months ago
I have a problem:
One of my websites doesn’t show comment time, only comment date.
How do I make it show time as well?
I have another website (with different theme though), where I have the same setting as on the first one in Settings>General and it show comment time and date.
I need my website to show date+time when the comment was posted.
Thanks