if (!defined('ABSPATH')) { exit; } global $theme_root; global $home_url; global $lang; ?> <div class="sectionWrapper"> <div class="container fx" data-animate="fadeInDown"> <div class="portfolio-img-slick"> <?php $product_slide_attachments = get_attachments_array('product_slide_attachments', 'thumb-product-slide-attachments'); if ($product_slide_attachments) { foreach ($product_slide_attachments as $image) { echo '<div>'; echo '<img src="' . $image['src'] . '" alt="" />'; echo '</div>'; } } ?> </div> <div class="clearfix"></div> </div>
if (!defined('ABSPATH')) { exit; } global $theme_root; global $home_url; global $lang; ?> <div id="portfolioGallery-filter"> <div class=""> <div class="portfolio-items"> <?php $product_gallery_attachments = get_attachments_array('product_gallery_attachments', 'thumb-product-gallery-attachments'); if ($product_gallery_attachments) { foreach ($product_gallery_attachments as $image) { echo '<div class="cell-2">'; echo '<div class="portfolio-item">'; echo '<div class="img-holder">'; echo '<div class="img-over">'; echo '<a href="' . $image['srcfull'] . '" class="fx zoom" title="#"><b class="fa fa-search-plus"></b></a>'; echo '</div>'; echo '<img src="' . $image['src'] . '" alt="" />'; echo '</div>'; echo '</div>'; echo '</div>'; } } ?>
// Exit if accessed directly if (!defined('ABSPATH')) { exit; } global $theme_root; global $home_url; global $lang; $video = types_render_field("video", array("raw" => "false")); ?> <div class="cell-3 porto-stats fx" data-animate="fadeInRight"> <h3 class="block-head">Multimedia</h3> <?php echo $video; ?> <?php $docs = get_attachments_array('product_documents_attachments'); if ($docs) { foreach ($docs as $btn) { if ($btn['title']) { echo '<div class="padd-top-20"><a href="' . $btn['url'] . '" class="btn btn-medium main-bg" title="' . $btn['title'] . '"> <i class="fa fa-download"></i> ' . $btn['title'] . '</a></div>'; } } } ?> </div>