My plugin doesn’t exclude posts without comments (even thought it probably should, might change that), that’s why your folio posts keep popping up – they’re still cached as popular because people are checking them constantly (and that’s one of the reasons why the category exclusion feature was introduced).
Anyways, if it really bothers you so badly, you can apply a small hack to my plugin to exclude popular posts that have no comments from the listing (this modification affects all sorting options, including comments count sorting):
- Download to your desktop the wordpress-popular-posts.php file located at your wp-contents/plugins/wordpress-popular-posts and open it using a text editor such as Notepad.
- Find this line:
$mostpopular = $wpdb->get_results(“SELECT $wpdb->posts.ID, $wpdb->posts.post_title $fields FROM $wpdb->posts $join WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_password = ” AND $range $force_pv $nopages $exclude GROUP BY $wpdb->posts.ID ORDER BY $sortby DESC LIMIT ” . $instance[‘limit’] . “”);
… and replace it with:
$mostpopular = $wpdb->get_results(“SELECT $wpdb->posts.ID, $wpdb->posts.post_title $fields FROM $wpdb->posts $join WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->posts.post_password = ” AND $range $force_pv $nopages $exclude AND comment_count > 0 GROUP BY $wpdb->posts.ID ORDER BY $sortby DESC LIMIT ” . $instance[‘limit’] . “”);
- Save changes, and reupload the file to your site via FTP.
I haven’t tested this, so please let me know if you encounter any issues.