get_gallery_attachment_ids(); $slider_classes = array('product-gallery-slider-old','slider','slider-nav-small','mb-0'); // Image Zoom if(get_theme_mod('product_zoom', 0)){ $slider_classes[] = 'has-image-zoom'; } $rtl = 'false'; if(is_rtl()) $rtl = 'true'; ?>
get_gallery_attachment_ids(); $thumb_count = count($attachment_ids)+1; $rtl = 'false'; if(is_rtl()) $rtl = 'true'; $thumb_cell_align = "left"; if ( $attachment_ids ) { $loop = 0; $gallery_class = array('product-thumbnails','thumbnails'); if($thumb_count <= 5){ $gallery_class[] = 'slider-no-arrows'; } $gallery_class[] = 'slider row row-small row-slider slider-nav-small small-columns-4'; ?>
$image_title, 'alt' => $image_title ) ); echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '', $image_class, $image_caption, $image ), $attachment_id, $post->ID, $image_class ); $loop++; } ?>