Hi. You’ve checked this cpt in options?
If so, it might be due to bug in older version (fixed in 1.5).
Assuming you have version 1.4 installed, you should be able to fix it like so:
1. Open rating.php
2. Go to line ~931
3. Replace spr_get_post_types_fo()
function with
function spr_get_post_types_fo()
{
$options=spr_options();
$post_types=get_post_types(array('public'=>true, '_builtin'=>false), 'objects', 'and');
$result='<table><tr><td class="spr_cb_labels">Posts</td><td><input type="checkbox" name="post" id="post" value="'.$options['where_to_show']['post'].'" '.checked($options['where_to_show']['post'], 1, false).'></td></tr><tr><td class="spr_cb_labels">Pages</td><td><input type="checkbox" name="page" id="page" value="'.$options['where_to_show']['page'].'" '.checked($options['where_to_show']['page'], 1, false).'></td></tr>';
foreach ($post_types as $type)
{
if (!isset($options['where_to_show'][$type->name]))
{
$options['where_to_show'][$type->name]=0;
}
$result.= '<tr><td class="spr_cb_labels">'.$type->labels->name.'</td><td><input type="checkbox" name="'.$type->name.'" id="'.$type->name.'" value="'.$options['where_to_show'][$type->name].'" '.checked($options['where_to_show'][$type->name], 1, false).'></td></tr>';
}
$result.="</table>";
return $result;
}
4. After that, there is spr_list_cpt_slugs()
function, replace it with
$types=array("post", "page");
$post_types=get_post_types(array('public'=>true, '_builtin'=>false), 'objects', 'and');
foreach ($post_types as $type)
{
$types[]=$type->name;
}
return $types;
5. If you use top rated content, open spr_widgets.php, and replace line 124 with
$result.= '<tr><td class="spr_cb_labels">'.$post_type->labels->name.'</td><td><input type="checkbox" style="float:right;" name="'.$this->get_field_name($post_type->name).'" id="'.$this->get_field_id($post_type->name).'" value="'.$options[$post_type->name].'" '.checked($options[$post_type->name], 1, false).'></td></tr>';
Make sure to go to options again and check this cpt of yours. Do that for widgeet too if you’re using it.
P.S. Glad you like it. Hope you will try version 1.5 when it comes out. It got lots of fixes, improvements, new features and other nice stuff 😉