Open Jon007 opened 7 years ago
FIX: there's a basic fix for getting the standard threaded output:
class-decent-comments-renderer.php
l.354++ replace entire loop:
foreach ( $comments as $comment) {
with standard wp function call:
wp_list_comments( $options, $comments);
so the full output section, keeping the existing decent-comments wrapper tag would be:
$output .= '<div class="decent-comments">';
$output .= '<ul>';
$options['echo']=false;
$output .= wp_list_comments( $options, $comments);
$output .= '</ul>';
$output .= '</div>'; // .decent-comments
Current version lists replies as a normal comment: should either omit replies (list only where comment_parent=0) or thread them, to avoid showing replies out of context.