E
E
Egor2015-10-22 21:17:07
PHP
Egor, 2015-10-22 21:17:07

How to change woocommerce category menu layout?

In the woocommerce plugin, I found a file that, as I understand it, forms a category menu.
git
How to change it is necessary to change layout a little. How can this be done so as not to touch the plugin itself, so that the changes are not overwritten during the update?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2015-10-23
@DarkSir

the simplest option, add a child theme, add your class MY_Product_Cat_List_Walker there - it is also a modified WC_Product_Cat_List_Walker, throw the templates that you need to change into the same theme and garden them there as you like, as long as they are in the woocommerce theme, it will use them, and not the ones under his hood

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question