wp-comments-popup help needed
-
Below is the code that I have in my wp-comments-popup template:
<?php if ($comments) { ?>
<?php foreach ($comments as $comment) { ?>
<id=”comment-<?php comment_ID() ?>”>
<?php comment_text() ?>
Posted by <?php comment_author_link() ?> on <?php comment_date() ?> @ <?php comment_time() ?>
<?php } // end for each comment ?>
<?php } else { // this is displayed if there are no comments so far ?>
No comments yet.
<?php } ?>The problem I’m having is that my “posted by” line has a line break or something before it, making the comment output look like this:
WP wasn’t too hard once I got the hang of it. I had to ask a lot of questions though, via Sara and the support forums. I really do like it much better than MT though. Email me if you have more questions!
Posted by Jenni on Feb. 21, 2004 @ 9:58 pmWhat I would like it to look like is this:
WP wasn’t too hard once I got the hang of it. I had to ask a lot of questions though, via Sara and the support forums. I really do like it much better than MT though. Email me if you have more questions!
Posted by Jenni on Feb. 21, 2004 @ 9:58 pmWith no space between the comment body and the “posted by” line. Anyone have any ideas on how to accomplish this? Am I overlooking something simple?
Thanks!
- The topic ‘wp-comments-popup help needed’ is closed to new replies.