Forums
Forums / Fixing WordPress / Comments on same line
(@seth-web)
17 years, 6 months ago
I am working on a project where the comments need to be on the same line as the author, like this. “Admin Says: This is a comment.”
Right now the comment looks more like this. “Admin Says: This is a comment.”
I am using them Mountain Dawn and WordPress version 2.6.2 Here is my code.
<cite> <h6> <?php comment_author_link() ?> </cite> Says: </h6> <?php if ($comment->comment_approved == '0') : ?> <em>Your comment is awaiting moderation.</em> <?php endif; ?> <?php comment_text() ?>
I have tried moving the “comment_text()” right after “Says:”, but that did not work. I am thinking that I need to change something in the comment_text() function, but I do not know how to do that. Any ideas would be appreciated.
(@wpbct7)
Remove <h6> tag or replace it with <strong></strong>
<strong></strong>
Removing <h6> did not work. What would I replace <h6> with?
(@asadikhan)
16 years, 6 months ago
Did you ever figure this out? This is exactly what I’m trying to do but can’t figure out.
The topic ‘Comments on same line’ is closed to new replies.
(@seth-web)
17 years, 6 months ago
I am working on a project where the comments need to be on the same line as the author, like this.
“Admin Says: This is a comment.”
Right now the comment looks more like this.
“Admin Says:
This is a comment.”
I am using them Mountain Dawn and WordPress version 2.6.2
Here is my code.
I have tried moving the “comment_text()” right after “Says:”, but that did not work. I am thinking that I need to change something in the comment_text() function, but I do not know how to do that. Any ideas would be appreciated.