<?php 
/**
 * Tema WP prestasi, tema CMS Wordpress untuk website Dealer
 * Author : Ciuss Creative
 * Facebook : http://facebook.com/ciussgw
 * Whatsapp : 0815-3274-4804
 */
 
    if (have_posts()):
	    while (have_posts()): the_post(); 
		$vidembed = get_post_meta($post->ID, '_vidembed', true); 
		?>
		
		    <div class="post_loop clear">
			    <div class="post_in">
				    <div class="box_vid">
				    	<iframe width="600" height="400" src="<?php echo esc_url( 'https://www.youtube.com/embed/'. rawurlencode( $vidembed ) .'' ); ?>" frameborder="0" allowfullscreen></iframe>
					</div>
				
			    	<div class="post_inmeta">
				    	<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
					</div>
				</div>
				
			</div>
			
		<?php endwhile; 
    endif; 
?>
