<?php /** * $Desc * * @version $Id$ * @package wpbase * @author WPOpal Team <wpopal@gmail.com, support@wpopal.com> * @copyright Copyright (C) 2014 wpopal.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * @website http://www.wpopal.com * @support http://www.wpopal.com/support/forum.html */ $config = array('type' => 'wpo_postconfig', 'format' => 'video_link'); if (wpo_embed($config)) { ?> <div class="entry-thumb post-type-video"> <div class="video-thumb video-responsive"> <?php echo wpo_embed($config); ?> </div> </div> <?php }
<div class="post-thumb"> <?php if (has_post_format('video')) { ?> <div class="video-responsive"> <?php wpo_embed(); ?> </div> <?php } else { if (has_post_format('audio')) { ?> <div class="audio-thumb"> <?php wpo_embed(); ?> </div> <?php } else { if (has_post_format('gallery')) { $_imgs = wpo_gallery(); ?> <div id="post-slide-<?php the_ID(); ?> " class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <?php foreach ($_imgs as $key => $_img) { echo '<div class="item ' . ($key == 0 ? 'active' : '') . '">';
col-lg-<?php echo $class_column; ?> <?php echo $item_classes; ?> "> <div class="wpo-portfolio-content thumbnail text-center"> <div class="wpo-portfolio-content-inner"> <?php if (wpo_embed($_video)) { ?> <div class="entry-thumb post-type-video"> <div class="video-thumb video-responsive"> <?php echo wpo_embed($_video); ?> </div> <div class="wpo-show-video"> <a class="video-popup" href="javascript:void(0)" data-title="<?php the_title(); ?> " data-id="<?php the_ID(); ?> " data-toggle="modal" data-target="#videoModal"> <i class="fa fa-youtube-play"></i> <?php the_title(); ?> </a>