<!-- Product Images --> <div class="col-md-4 mb-md-30"> <div class="post-prev-img"> <?php woocommerce_show_product_images(); ?> <?php woocommerce_show_product_sale_flash(); ?> </div> <div class="row"> <?php woocommerce_show_product_thumbnails(); ?> </div> </div> <!-- End Product Images --> <!-- Product Description --> <div class="col-sm-8 col-md-5 mb-xs-40"> <?php woocommerce_template_single_title(); ?> <hr class="mt-0 mb-30"/>
/** * Tour details page, tab photos rendeing function. * * @return void */ function adventure_tours_render_tab_photos() { $thumbnail = adventure_tours_get_the_post_thumbnail(); if ($thumbnail) { wp_enqueue_style('swipebox'); wp_enqueue_script('swipebox'); TdJsClientScript::addScript('initProductSwiper', "jQuery('.woocommerce-main-image.swipebox,.thumbnails .swipebox').swipebox({useSVG : true, hideBarsDelay : 0});"); echo sprintf('<div class="row product-thumbnails"><div class="col-md-12"><a href="%s" class="swipebox" title="%s">%s</a></div></div>', esc_url(wp_get_attachment_url(get_post_thumbnail_id())), esc_attr(get_the_title()), $thumbnail); } woocommerce_show_product_thumbnails(); }