????

Your IP : 216.73.216.164


Current Path : /home2/morganrand/www/sub/wp-content/themes/oceanwp/partials/single/media/
Upload File :
Current File : /home2/morganrand/www/sub/wp-content/themes/oceanwp/partials/single/media/blog-single-video.php

<?php
/**
 * Blog single video format media
 *
 * @package OceanWP WordPress theme
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Return if Ocean Extra is not active
if ( ! OCEAN_EXTRA_ACTIVE ) {
	return;
}

// Get post video
$video = oceanwp_get_post_video_html();

// Display video if one exists and it's not a password protected post
if ( $video && ! post_password_required() ) : ?>

	<div id="post-media" class="thumbnail clr">

		<div class="blog-post-video">

			<?php echo $video; ?>

		</div><!-- .blog-post-video -->

	</div><!-- #post-media -->

<?php
// Else display post thumbnail
else : ?>

	<?php get_template_part( 'partials/single/media/blog-single' ); ?>

<?php endif; ?>