• Resolved andy_b

    (@andy_b)


    Hi

    In the comments section of my blog i am trying to display the commenters name, the time the comment was made and the comment itself in one line using the following code in my comments.php file.

    <span class="commentauthor"> <?php comment_author_link(); ?> </span>
    <span class="commentdate"> <?php comment_date(' F j, Y '); ?> @ <?php comment_time('H:i'); ?> </span>
    <span class = "commentdate"> <?php comment_text(); ?></span>

    the classes just contain color styles.

    However the <?php comment_text(); ?> returns the comment text within paragraph tags. I can therefore not display everything on one line.

    Any ideas?

    cheers

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘comments_text()’ is closed to new replies.