time date format in comment output
-
My comments currently look like this:
Posted by Matthew on November 30, 2006 (2 days ago) at 11:09 am
This is my code in the comments.php:
<?php foreach ($comments as $comment) : ?>
<li class=”commentbody” id=”comment-<?php comment_ID() ?>”>
Posted by <?php comment_author_link() ?>
<?php if ($comment->comment_approved == ‘0’) : ?>
Your comment is awaiting moderation.
<?php endif; ?>
on <?php comment_date(‘F j, Y’) ?> at <?php comment_time()?><?php edit_comment_link(‘e’,”,”); ?><div class=”commentcount”><?php echo $relax_comment_count; ?></div>
<?php comment_text() ?>
<?php $relax_comment_count++; ?>
<?php endforeach; /* end for each comment */ ?>
How can I get rid of (2 days ago)?? I don’t see anywhere in the code that it is doing this though it is outputting it. Please help!
- The topic ‘time date format in comment output’ is closed to new replies.