<?php if ( get_theme_mod('fashion_boutique_featured_category_section_enable') ) : ?>

<div class="featured-category py-5">
	<div class="container">
        <?php $fashion_boutique_args = array(
			'post_type' => 'post',
			'post_status' => 'publish',
			'category_name' =>  get_theme_mod('fashion_boutique_featured_category'),
			'posts_per_page' => 12,
		); ?>
		<div class="row">
		    <?php $fashion_boutique_arr_posts = new WP_Query( $fashion_boutique_args );
		    	if ( $fashion_boutique_arr_posts->have_posts() ) :
		      	while ( $fashion_boutique_arr_posts->have_posts() ) :
		        $fashion_boutique_arr_posts->the_post();
		        ?>
		        <div class="col-lg-3 col-md-4 col-sm-4">
		        	<div class="box mb-4 wow zoomIn">
				          <?php
		                  if ( has_post_thumbnail() ) :
		                    the_post_thumbnail();
		                  else:
		                    ?>
		                    <div class="slider-alternate">
		                      <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
		                    </div>
		                    <?php
		                  endif;
		                ?>
		                <div class="box-content">
		                   <h4 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
		                </div>
		            </div>
			    </div>
		      	<?php
		    endwhile;
		    wp_reset_postdata();
		    endif; ?>
		</div>
	</div>
</div>

<?php endif; ?>