<?php
/*
* -------------------------------------------------------------------------------------
* @author: Doothemes
* @author URI: https://doothemes.com/
* @aopyright: (c) 2018 Doothemes. All rights reserved
* -------------------------------------------------------------------------------------
*
* @since 2.1.8
*
*/

// Compose data MODULE
$pitm = cs_get_option('slideritems','10');
$orde = cs_get_option('slidermodorderby','date');
$ordr = cs_get_option('slidermodorder','DESC');

// Compose Query
$query = array(
	'post_type' => array('tvshows'),
	'showposts' => $pitm,
	'orderby' 	=> $orde,
	'order' 	=> $ordr
);

// End Data
?>
<div id="slider-tvshows" class="animation-1 slider">
	<?php query_posts($query); while(have_posts()){ the_post(); get_template_part('inc/parts/item_b'); } wp_reset_query(); ?>
</div>
