Hi,
in the meantime i found a solution, which works for the moment:
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
return $img;
}
function avia_woocommerce_post_thumbnail_description($img, $post_id){
return $img;
}
function gallery_title_fix(){
?>
<script>
(function($){
$(window).load(function() {
$('.woocommerce-product-gallery__wrapper img').each(function(){
var caption = $(this).attr('data-caption');
$(this).attr('title',caption);
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'gallery_title_fix');
Kind regards!
Hi,
perfekt, vielen Dank für die schnelle Hilfe!
Liebe Grüße!
Hi,
alles klar. URL im privaten Bereich eingefügt.
Danke und viel Grüße!