Forums

Comments on same line (4 posts)

  1. Seth Web
    Member
    Posted 1 year 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.

  2. wpbct7
    Member
    Posted 1 year ago #

    Remove <h6> tag or replace it with <strong></strong>

  3. Seth Web
    Member
    Posted 1 year ago #

    Removing <h6> did not work. What would I replace <h6> with?

  4. asadikhan
    Member
    Posted 1 week ago #

    Did you ever figure this out? This is exactly what I'm trying to do but can't figure out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags