Initial Commit N° : 003 - V.4.3.5
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 3.0.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 9.0.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly
|
||||
@@ -70,7 +70,6 @@ if (isset($nasa_opt['product_detail_layout']) && in_array($nasa_opt['product_det
|
||||
$slideHoz = true;
|
||||
endif;
|
||||
|
||||
|
||||
if (isset($nasa_opt['product_detail_layout']) && in_array($nasa_opt['product_detail_layout'], array('new')) && isset($nasa_opt['product_thumbs_style']) && $nasa_opt['product_thumbs_style'] === 'hoz' && isset($nasa_opt['product_image_style']) && $nasa_opt['product_image_style'] === 'slide') :
|
||||
$slideHoz = true;
|
||||
endif;
|
||||
@@ -236,11 +235,13 @@ $wrapper_classes = apply_filters(
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php if ($video_url) : ?>
|
||||
<!-- Video product -->
|
||||
<div class="item-wrap">
|
||||
<div class="nasa-item-main-video-wrap nasa-item-main-image-wrap" data-key="<?php echo (int) $_i+1; ?>">
|
||||
<?php $video_poster_url = $video_poster_url ? $video_poster_url : wc_placeholder_img_src();?>
|
||||
<?php echo do_shortcode('[video src="' . esc_url($video_url) . '" preload="auto" poster="'.$video_poster_url.'"]'); ?>
|
||||
<?php echo do_shortcode('[video src="' . esc_url($video_url) . '" preload="auto" poster="' . $video_poster_url . '"]'); ?>
|
||||
<img class="ns-video-size" src="<?php echo esc_url($video_poster_url); ?>" alt="<?php echo esc_attr($video_title); ?>" />
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user