default_data() ); $args = array( 'post_type' => 'post' , 'cat'=> absint( $option['slider_cat'] ) ); $loop = new WP_Query($args); ?> Add slide title Create a post and assign a category this post. and select category form slider setting in customizer. Add slide title Create a post and assign a category this post. and select category form slider setting in customizer. have_posts() ): ?> have_posts() ) : $loop->the_post(); if( has_post_thumbnail() ): ?> have_posts() ) : $loop->the_post(); if( has_post_thumbnail() ): ?> ',''); the_excerpt(); ?> post_count > 1 ): ?>
Create a post and assign a category this post. and select category form slider setting in customizer.