<div class="blog-post col-xs-12">
	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
		<?php $images = rwmb_meta( 'klb_blogitemslides', 'type=image_advanced&size=medium' ); ?>
		<?php if($images) { ?>
			<figure class="entry-media">
				<div class="owl-slider" data-loop="true" data-autoplay="true" data-autoplay-timeout="10000" data-smart-speed="1000" data-nav-speed="false" data-nav="true" data-xxs-items="1" data-xxs-nav="true" data-xs-items="1" data-xs-nav="true" data-sm-items="1" data-sm-nav="true" data-md-items="1" data-md-nav="true" data-lg-items="1" data-lg-nav="true">
				<?php  foreach ( $images as $image ) { ?>
					<figure class="item">
						<img src="<?php echo esc_url($image['full_url']); ?>" alt="blogimage">
                    </figure>
				<?php } ?>
				</div>
			</figure>
		<?php } ?>
		<div class="entry-wrapper prl-20 prl-md-30 pt-20 pt-md-30 pb-15">
			<header class="entry-header">
				<h4 class="entry-title mb-10 mb-md-15 t-uppercase">
					<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
				</h4>
				<div class="entry-meta mb-10">
					<ul class="tag-info list-inline">
						<li><a href="<?php the_permalink(); ?>"><i class="icon fa fa-calendar"></i>  <?php echo get_the_date(); ?></a></li>
						<li><i class="icon fa fa-folder"></i> <?php the_category(', '); ?></li>
						<?php if(has_tag()){ ?>
						<li><?php the_tags( '<i class="icon fa fa-tag"></i></i> ', ', ', ' '); ?></li>
						<?php } ?>
						<li><i class="icon fa fa-comments"></i> <?php comments_popup_link( esc_html__( 'Leave a comment', 'froday' ), esc_html__( '1 Comment', 'froday' ), esc_html__( '% Comments', 'froday' ) ); ?></li>
						<li><?php if ( is_sticky()) {
								printf( '<i class="icon fa fa-exclamation"></i><span class="sticky-post">%s</span>', esc_html__( 'Featured', 'froday' ) );
							} ?>
							</li>
					</ul>
				</div>
			</header>
			<div class="entry-content">
				<?php the_excerpt(); ?>
				<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>                                                
			</div>
		</div>
	</article>
</div>