Tag Info

New answers tagged

0

Looks like I had to figure this one out myself. replace $comment_meta_args and $replies with global $wpdb; $comment_meta_args="SELECT * FROM `$wpdb->comments` WHERE `comment_approved` = 1 AND `comment_parent` = (". intval($parent_comment_id) .") AND `user_id` != 1 ORDER BY comment_date ASC LIMIT 3"; ...


0

My bad. Should have added a foreach for the replies as well. <?php $args = array( 'user_id' => $curauth->ID, 'number' => 5, 'status' => 'approve', 'parent' => 0 ); $comments = get_comments($args); if ( $comments ) { foreach($comments as $c){ echo '<ul ...



Top 50 recent answers are included