Is there a way to change the behavior of the main category in the breadcrumbs links ?
I mean, i use as main category a page, not a real product category in woocommerce for all my products. So when i click on the first main category link in breadcrumbs it goes back to an empty category not my page. (that’s how it works and normal)
Is it possible to customize that ?
For example i have the main category “Guitars” (a page) and sub categories –Electric Guitars etc… but i need the first breadcrumb link to go back to my page “Guitars”, not the woocommerce category.
I hope i was clear enough lol!
thanks for helping to find a way !!!
We would be glad to help you but we don’t have any quick instruction or tutorial that may help with your question. Due to a fact that it requires additional customization, it is out of our support scope according to Envato support policy.
But there is one thing that you can try. The following code should swap the link for your category to be the actual page link. Place it into your child theme functions.php and replace category slug with your own