Why do my Wordpress comments have the wrong date?
Currently, every comment has the same date as the original post.
Theme functions PHP:
<div class="comment-meta commentmetadata开发者_StackOverflow">
<?php comment_author_link() ?><?php _e(' said: ','my-theme-here');?>
<?php comment_date(__('Y.m.d','my-theme-here')) ?> <?php comment_time(__('H:i','my-theme-here')) ?>
</div>
Any thoughts? (or other code I need to paste here)
As far as I can tell from the Wordpress docs, and looking at a few different themes, including the default theme, comment_time doesn't take any arguments. Try <?php comment_time() ?>
instead. Same with <?php comment_date() ?>
精彩评论