Not sure if this is the right place... but line 496
$nopages = "AND $wpdb->posts.post_type = 'post'";
seems to be the only place I see any post selection limited to just post
When I've messed around with other plugins, to add in CPTs, I'v elooked for similar selection criteria. And added in my own CPTs. So the first place I would mess around is here. I'm not a coder, so I'm not sure exactly how to add in the CPT here....
$nopages = "AND $wpdb->posts.post_type = 'post', 'cpt', 'another'";
or if it has to be in an array
$nopages = "AND $wpdb->posts.post_type = array( 'post', 'cpt', 'another' )";
, or what.....
I'm sure you know to have a backup available, and that if you get the syntax wrong, you could kill the plugin, or your site. But as long as you can ftp in, no harm no foul really. I know I've killed my sites a few times doing stuff like this. Its why I have a dev install of WP that is pretty much a copy of my live site.... so I can poke it with a stick to see what happens
pages=1to the list of attributes forwpp_get_mostpopular, it shows everything i.e. the posts in my custom post types and pages. However, if I usepages=0, it only shows the posts in the default post type. Would there be a way to only get rid of the actual pages? – jwp Mar 17 '11 at 0:46