'post', 'posts_per_page' => -1) );
$counter_post=0;
if( $featp->have_posts() ) : while ( $featp->have_posts() ) : $featp->the_post();
$feat_post = get_post_meta( get_the_ID(), 'feat_post', true);
if($feat_post == 'on'): $counter_post++;?>
$attach ) {
extract( $attach );
if ( empty ($attachment) )
continue;
$thumbs[] = wp_get_attachment_image( $attachment, 'BillyDroid_slides_th' );
switch ( $type_slider ){
case 'random':
case 'random-top':
case 'random-relative':
case 'random-medium':
$imgurl = wp_get_attachment_image ( $attachment, 'BillyDroid_slides_HD');
break;
default:
$imgurl = wp_get_attachment_image( $attachment, 'BillyDroid_slides');
$attr ='width="'.$width_slider.'" height="'. $height_slider.'"';
break;
}
?>