'post',
'category__in' => '',
'posts_per_page' => $no_of_posts,
'ignore_sticky_posts' => true
) );
} else {
$dt_image_slider = new WP_Query(
array(
'post_type' => 'post',
'category__in' => $category,
'posts_per_page' => $no_of_posts
)
);
}
?>
have_posts() ) : ?>
have_posts() ) : $dt_image_slider->the_post(); ?>