<div class="container-fluid py-3">
	<div class="container-fluid px-md-5">
		<div class="owl-carousel owl-carousel-2 carousel-item-3 position-relative">
		<?php $mediapulse_cat_id = get_theme_mod( 'slider1_category' );
		$args = array(
		'post_type'=> 'post',
		'orderby'    => 'ID',
		'cat' => $mediapulse_cat_id,
		'post_status' => 'publish',
		'order'    => 'DESC',
		'posts_per_page' => -1 // this will retrive all the post that is published 
		);
		$result = new WP_Query( $args );
		if ( $result->have_posts()): 
		while ( $result->have_posts() ): $result->the_post(); ?>
			<div class="d-flex">
			<?php if(has_post_thumbnail()): 
			$mediapulse_featured_img_url = get_the_post_thumbnail_url(get_the_ID(),'mediapulse-full');
			?>
				<img src="<?php echo esc_url($mediapulse_featured_img_url) ?>" style="width: 80px; height: 80px; object-fit: cover;">
				<?php endif; ?>
				<div class="d-flex align-items-center bg-light px-3" style="height: 80px;">
					<a class="text-secondary font-weight-semi-bold" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
				</div>
			</div>
		<?php endwhile; endif; ?>
		</div>
	</div>
</div>