Posted on

Remove link on thumbnail in WooCommerce product page

If you have only one image for your product set as “featured image” and don’t need any gallery or zooming effect here’s how you can quicky remove the anchor that link to your picture file.

As always, the snippet has to placed in your functions.php file.