function wpsp_post_video_html($video = '') { echo wpsp_get_post_video_html($video); }
} // Get single blog layout blocks $video = wpsp_get_post_video_html(); $photos = rwmb_meta('wpsp_format_gallery_album', array('type' => 'image_advanced', 'size' => 'thumb-landscape')); // Get single blog layout blocks $post_format = get_post_format(); ?> <?php if ($video && 'video' == $post_format) { ?> <div id="blog-single-video"> <?php printf('<div class="blog-single-video">%s</div>', wpsp_get_post_video_html()); ?> </div> <!-- #blog-single-video --> <?php } elseif ($photos && 'gallery' == $post_format) { ?> <div class="gallery wpsp-row clearfix"> <?php foreach ($photos as $photo) { ?> <div class="col span_1_of_3"> <div class="post-thumbnail-wrap overlay-2"> <div class="post-thumbnail"><img src="<?php echo $photo['url']; ?>