Tagged: child theme
The site I’m building is nearly done. I’m using GoDaddy’s cPanel and I’ve made code changes directly in the ‘enfold’ theme folder as well as Quick CSS.
I’d like to preserve these code changes and all the work I’ve already done, in a Child Theme.
Can I just copy the ‘enfold’ folder and move the contents to my ‘enfold-child’ folder?
Hi!
That depends on what files have you changed exactly, if you could provide more details we would give you a better advice.
Best regards,
Josue
Hi!
The only files I have record of altering are functions.php and magazine.php.
When using a copy of the current ‘enfold’ functions.php in a live preview of the Child Theme, I get a warning and Fatal Error message.
I honestly can’t remember what I changed, as I did not log that. Something I will do from now on though. Is there any way to easily compare differences? I have Dreamweaver CC 2014.
Thanks!
Otherwise, I can just leave the ‘enfold-child’ functions.php empty for now.
Hi!
I use this tool to make file comparisons – https://www.diffchecker.com/
Regarding the magazine.php file, you can do the following – http://kriesi.at/documentation/enfold/working-with-the-advanced-layout-builder/
Cheers!
Josue
Thank you!
DIFF CHECKER is awesome!
I don’t quite understand the link to Working with the Advanced Layout Builder. What’s the reference to the magazine.php?
Cheers :)
Hi!
No needed, after you added that code you just need to have a /shortcodes folder and a magazine.php file.
Best regards,
Josue