Displaying Posts Depending on Number of Comments and Latest Comments? July 16, 2022 by Tarik Billa query_posts( array('orderby' => 'comment_count', 'order'=>'DESC') ) This should do it.