Thumbnail total
This commit is contained in:
parent
184792e7a6
commit
edb03258c6
|
@ -9,7 +9,7 @@ global $post, $woocommerce;
|
|||
|
||||
<?php if (has_post_thumbnail()) : $thumb_id = get_post_thumbnail_id(); $large_thumbnail_size = apply_filters('single_product_large_thumbnail_size', 'shop_single'); ?>
|
||||
|
||||
<a itemprop="image" href="<?php echo wp_get_attachment_url($thumb_id); ?>" class="zoom" rel="thumbnails"><?php echo get_the_post_thumbnail($post->ID, $large_thumbnail_size) ?></a>
|
||||
<a itemprop="image" href="<?php echo wp_get_attachment_url($thumb_id); ?>" class="zoom" rel="thumbnails" title="<?php echo get_the_title( $thumb_id ); ?>"><?php echo get_the_post_thumbnail($post->ID, $large_thumbnail_size) ?></a>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue