Support » Fixing WordPress » Order by comment count but without trackbacks?

  • $wpdb->get_results("SELECT id, post_title, comment_count FROM {$wpdb->prefix}posts WHERE post_type='post' ORDER BY comment_count DESC LIMIT 10");

    That is the code, is it possible to stop countinng the pingbacks/trackbacks?

  • The topic ‘Order by comment count but without trackbacks?’ is closed to new replies.