Here’s the comments styling of my theme
function blacknblue_comments($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div id="comment-<?php comment_ID() ?>" class="comment-list">
<div class="comment-left">
<?php echo get_avatar($comment,$size='75'); ?>
</div>
<div class="comment-right<?php if($comment->user_id == '1') {echo' admin-comment';} ?>"><?php comment_author_link(); ?> <a href="<?php get_comment_link( $comment->comment_ID ) ?>">#</a><?php edit_comment_link(__('(Edit)'),' ','') ?></p>
<?php if ($comment->comment_approved == '0') : ?><p class="moderation">Your comment is awaiting moderation</p><?php endif; ?>
<?php comment_text() ?>
<div class="reply">
<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'reply_text' => 'Reply to this Comment', 'max_depth' => $args['max_depth']))) ?>
</div>
</div><div class="clearfix"></div></div>
<?php
}
(@buttonedorg)
15 years, 5 months ago
Just updated my WordPress to the latest version and the comments aren’t threading anymore.
The old threaded comments still show up as threaded, it’s just that the new ones won’t thread when I use the reply link.
Were there any changes made to the coding when it comes to the comments form and how the threaded comments work? Here’s my current form code.