Which theme’s files can we overwrite in child theme?
-
Hello,
I notice that some theme’s files can be overwritten (by copying and editing in child theme) but some can’t be.
Do you have a kind of list or rules of the files which are overwritable or not?
Would be helpful for our own theme customisation actually, and also completing your documentation about that by the way.
From our knowledge we know that those files can be actually overwritten with success :
1/ all files from the Woodmart theme base folder : /header-elements/*
2/ all files from the Woodmart theme base folder : /woocommerce/*
Thanks!
Best regards.
-
This topic was modified 2 years, 9 months ago by
loptix.
Hello,
You can override WordPress core template files like header.php, footer.php, page.php etc. And also you can override header elements and WooCommerce template files. Other core theme PHP files can’t be overridden as PHP templates.
Kind Regards