File: /var/www/vhosts/amphoragames.com/httpdocs/wp-content/themes/ibuki/content-video.php
<?php
$options_ibuki = get_option('ibuki');
$blog_type = $options_ibuki['blog_type'];
$img_thumb_listed = wp_get_attachment_image_src( get_post_thumbnail_id(), 'listed-blog-thumb' );
$img_thumb_center = wp_get_attachment_image_src( get_post_thumbnail_id(), 'center-blog-thumb' );
$check_featured_image_post_settings = get_post_meta($post->ID, '_az_featured_image_settings', true);
?>
<?php if( !is_single() ) { ?>
<?php if($blog_type == 'listed-blog') { ?>
<div class="blog-post-thumb-listed">
<a class="blog-photo" title="<?php the_title(); ?>" href="<?php the_permalink(); ?>">
<div class="blog-post-image" style="background-image: url('<?php echo $img_thumb_listed[0]; ?>');">
<span class="overlay-bg-blog"><i class="read-icon"></i></span>
</div>
<div class="blog-post-description">
<div class="blog-naming">
<h2 class="post-title"><?php the_title(); ?></h2>
<span class="line"></span>
<h3 class="published"><?php the_time( get_option('date_format') ); ?> / <?php comments_number( 'no comments', 'one comment', '% comments' ); ?></h3>
</div>
</div>
</a>
</div>
<?php } else if($blog_type == 'center-blog') { ?>
<div class="blog-post-thumb-center" style="background-image: url('<?php echo $img_thumb_center[0]; ?>');">
<span class="overlay-bg-blog"></span>
<a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>">
<div class="blog-post-box">
<div class="blog-naming">
<h2 class="post-title"><?php the_title(); ?></h2>
<span class="line"></span>
<h3 class="published"><?php the_time( get_option('date_format') ); ?> / <?php comments_number( 'no comments', 'one comment', '% comments' ); ?></h3>
</div>
</div>
</a>
</div>
<div class="blog-post-content-center">
<div class="entry-content">
<?php the_content( __("Continue Reading...", AZ_THEME_NAME) );?>
</div>
</div>
<?php } else if($blog_type == 'masonry-blog') { ?>
<div class="blog-post-thumb-masonry">
<div class="video-thumb">
<?php az_post_video(get_the_ID()); ?>
</div>
</div>
<div class="blog-post-content-masonry">
<div class="post-name">
<h2 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?></a>
</h2>
<?php get_template_part( 'content' , 'meta-header' ); ?>
</div>
<div class="entry-content">
<?php the_content( __("Continue Reading...", AZ_THEME_NAME) );?>
</div>
</div>
<?php } else if($blog_type == 'standard-blog') { ?>
<div class="blog-post-thumb-standard">
<div class="video-thumb">
<?php az_post_video(get_the_ID()); ?>
</div>
</div>
<div class="blog-post-content-standard">
<div class="post-name">
<h2 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?></a>
</h2>
<?php get_template_part( 'content' , 'meta-header' ); ?>
</div>
<div class="entry-content">
<?php the_content('<span class="continue-reading">'. __("Continue Reading...", AZ_THEME_NAME) . '</span>'); ?>
</div>
</div>
<?php } ?>
<?php } ?>
<?php if( is_single() ) { ?>
<?php if ( $check_featured_image_post_settings == "enabled") { ?>
<div class="video-thumb">
<?php az_post_video(get_the_ID()); ?>
</div>
<?php } ?>
<div class="entry-content">
<?php the_content( __("Continue Reading...", AZ_THEME_NAME) );?>
<?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:', AZ_THEME_NAME).'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<?php get_template_part( 'content', 'meta-footer' ); ?>
<?php } ?>