New answers tagged captions
When you look at the last line img_caption_shortcode(), then you can see wp_kses() stripping non allowed HTML tags there. The wp_kses_hook() function does only wrap a filter: return apply_filters( 'pre_kses', $string, $allowed_html, $allowed_protocols ); which allows to hook in and alter the output before wp_kses_split() finally removes the HTML tag by ...
Go to woocommerce folder-> template single product -> product-thumbnail.php from that you need to delete the slider class
Ended up with the very low-tech, but functional, fix of adding<p> in place of an html paragraph tag. Worked like a charm.
Top 50 recent answers are included