Hi,
I copied the functions.php file from the enfold folder into my enfold-child folder. Haven’t made any edits to the functions.php file and I’m getting the following error message:
Warning: require_once(config-wpml/config.php) [function.require-once]: failed to open stream: No such file or directory in /home4/akmimrp/public_html/stagingarea/2013212/wp-content/themes/enfold-child/functions.php on line 29
Fatal error: require_once() [function.require]: Failed opening required 'config-wpml/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home4/akmimrp/public_html/stagingarea/2013212/wp-content/themes/enfold-child/functions.php on line 29
How can I fix this problem? I would like to be able to add some of the PHP snippets to my child theme’s functions.php file.
Thanks
Hi akmhou!
You don’t copy the whole file to your child theme. Just have a clean fresh functions.php in the child folder. See: http://kriesi.at/documentation/enfold/using-a-child-theme/
You can download a pre-built child theme from there.
Regards,
Devin
Hi Devin,
Sorry, my bad! I misunderstood the instructions when I viewed your video tutorial for child themes. I’ve since uploaded a blank functions.php file inside my child theme folder. Only added some of the PHP snippets that I need and everything is working fine now.
You can mark this topic as closed/fixed.
Thanks a lot for your prompt help.
Glad we could help. Let us know if you have any other questions or issues.