get_image_id();
$wrapper_classes = apply_filters(
'woocommerce_single_product_image_gallery_classes',
array(
'woocommerce-product-gallery',
'woocommerce-product-gallery--' . ( $post_thumbnail_id ? 'with-images' : 'without-images' ),
'woocommerce-product-gallery--columns-' . absint( $columns ),
'images',
)
);
$is_vertical_layout = 'vertical-slider' === astra_get_option( 'single-product-gallery-layout' );
?>
';
$html .= sprintf( '
', esc_url( wc_placeholder_img_src( 'woocommerce_single' ) ), esc_html__( 'Awaiting product image', 'astra-addon' ) );
$html .= ' ';
}
$markup = apply_filters( 'woocommerce_single_product_image_thumbnail_html', $html, $post_thumbnail_id );
echo wp_kses_post( $markup );
do_action( 'woocommerce_product_thumbnails' );
?>
get_gallery_image_ids();
?>
get_image_id() ) {
$slide_number = 1;
foreach ( $attachment_ids as $attachment_id ) {
echo wp_kses_post( get_gallery_thumbnail( $attachment_id, $slide_number ) );
$slide_number++;
}
}
?>
get_image_id() ) {
$slide_number = 1;
foreach ( $attachment_ids as $attachment_id ) {
echo wp_kses_post( get_gallery_thumbnail( $attachment_id, $slide_number ) );
$slide_number++;
}
}
?>
$original_src[0] ) );
$is_first_slide = 0 === $slide_number ? 'flex-active-slide' : '';
return '' . $image . '
';
}
?>