Oh… I see that the exclude function is commented out in the plugin code:
function advps_slideshow($atts) {
global $post;
global $wpdb;
global $_wp_additional_image_sizes;
$current = $post->ID;
if(is_array($atts) && array_key_exists('optset',$atts)){
$q1 = "select template,opt_data from ".$wpdb->prefix."advps_optionset where id = ".$atts['optset'];
$res1 = $wpdb->get_results($q1);
if($res1){
$optset = unserialize($res1[0]->opt_data);
}
else return;
}
else return;
/*if($optset['advps_exclude']){
$exclude = explode(',',$optset['advps_exclude']);
if(!in_array($current,$exclude)){
$exclude[] = $current;
}
}
else
{
$exclude[] = $current;
}*/
$query_arg = array(
'post_type' => ($optset['advps_post_types']) ? $optset['advps_post_types'] : 'post',
'post__not_in' => $exclude,
//'cat' => (is_array($atts) && array_key_exists('cat',$atts)) ? $atts['cat'] : 1,
'posts_per_page' => ($optset['advps_maxpost']) ? $optset['advps_maxpost'] : 10,
'orderby' => ($optset['advps_order_by']) ? $optset['advps_order_by'] : 'date',
'order' => ($optset['advps_order']) ? $optset['advps_order'] : 'DESC'
);
That would explain it. Also, what’s up with the double underscore?
'post__not_in'
Will this be fixed soon?