copied class-framework-widgets.php to child theme
added require( ‘class-framework-widgets.php’ ); to child functions.php
got fatal error…
Hey Nancy,
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.
Best regards,
John Torvik
Hey!
It depends how you need to load the areas.
For example, that one file can not be loaded like that as child theme.
Can you please let us know what you need to do, so we can guide you properly?
Regards,
Basilis
I have other functions in my child functions.php and I have a few custom templates so I would prefer to keep my child theme as it is.
My goal was to make a few modifications to the “Enfold Child Latest News:” widget since I need it to behave a bit differently when it shows posts of category “research” than it does when I show posts of category “news” (specifically – no date for research)
solved this.