<div class="blog-post col-xs-12">
	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
		<figure class="entry-media embed-responsive embed-responsive-16by9">
		   <?php  
			if (get_post_meta( get_the_ID(), 'klb_blog_video_type', true ) == 'vimeo') {  
			  echo '<iframe src="//player.vimeo.com/video/'.get_post_meta( get_the_ID(), 'klb_blog_video_embed', true ).'?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="100%" height="472" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';  
			}  
			else if (get_post_meta( get_the_ID(), 'klb_blog_video_type', true ) == 'youtube') {  
			  echo '<iframe width="100%" height="450" src="//www.youtube.com/embed/'.get_post_meta( get_the_ID(), 'klb_blog_video_embed', true ).'?rel=0&showinfo=0&modestbranding=1&hd=1&autohide=1&color=white" frameborder="0" allowfullscreen></iframe>';  
			}  
			else {  
				echo ' '.get_post_meta( get_the_ID(), 'klb_blog_video_embed', true ).' '; 
			}  
			?> 
		</figure>
		<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>