I dont know much about coding... I found some JS and Jquery to disable links here but I dont know how to use them and where to put them...
This is the code in the title.php of my single product
<div class="product-categories"><?php echo $product->get_categories(); ?></div>
<h1 itemprop="name" class="product_title entry-title"><?php the_title(); ?></h1>
In the first line, there if have to disable the link on the categories and subcategories. I'd like to keep the display of them. In first instance I did some CSS on them, but that only worked in modern Chrome, not IE etc...
Can someone help me on editing that first line so the links are disabled?
Thanks in advance!
Kelly