Archived topic
archive-product.php
6 replies · Started by Neil on February 10, 2019
Hi,
I'm using the Barn2Media Product Table plugin with Woocommerce and as part of the installation process, I have to add the file archive-product.php to the GP theme folder.
All works great until I do a GP update and lose this file.
The file is detailed here... https://barn2.co.uk/kb/wpt-shop-category-search-template/
What's the best way to not have this file in the GP theme folder? Can I do something with the Code Snippets plugin or am I in child theme territory?
Thanks,
Neil.
Whenever you're adding or overwriting template files, you're in child theme territory.
If you add that file to your child theme, you should be good to go :)
Thanks Tom.
Adding a child theme is a lot easier than I had expected, thanks to your documentation.
As an aside, your documentation needs updating slightly as the location of the copyright customiser has moved from where your docs suggest.
Awesome!
This article?: https://docs.generatepress.com/article/changing-the-copyright-message/
Or is there another one?
Thanks!
It was this article... https://docs.generatepress.com/article/using-child-theme/
Nice find! Updated.
Thank you :)
No worries. Least I could do after all the help you have given me :)