Site logo

Archived topic

Change Comment Layout

9 replies · Started by Sam on August 22, 2018

Viewing posts 1–10 of 10

You could try this:

.comment-author-info .comment-author {
    line-height: 50px;
    color: red; /* Add correct color */
}
.entry-meta.comment-metadata {
    display: none;
}
.comment-content {
    padding: 10px 0;
    border: 0;
}

Is there any way we can get a link to the site?

Hi guys, I have updated the URL to the live site. please take a look. Thanks!

And just to confirm, this code is active on the site?:

add_filter( 'comment_text', 'tu_add_reply_link' );
function tu_add_reply_link( $text ) {
    echo $text;

    comment_reply_link();
}

Hi Tom,

Just readded it in. Thanks!

Let's try this instead:

add_filter( 'comment_text', function( $comment_text ) {
    $reply = get_comment_reply_link();

    return $comment_text . $reply;
} );
This archived topic is closed to new replies.