If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I am attempting to override the file class-framework-widgets.php in the framework/php/ folder with the same file duplicated in the same relative path in an enfold-child theme. My changes do not seem to be overriding the parent theme’s class-framework-widgets.php file though. When I make the changes to the original file, everything works as expected.
Is there a way to have all files in the child theme override their counterparts in the parent theme?
With a child theme, you can replace basic files and they will automatically be used instead. With the framework it isn’t quite as simple. The easiest and most problem free way would be to just edit the parent theme.
Otherwise you’ll need to have the child theme’s functions.php file replace all of the parents functions and then include the framework in the child. At that point I’ve found its just as much hassle to update the second set of framework files as it is to just keep a backup of the changes to the parent and re-apply after an update.
The topic ‘Override files in Framework folder with child theme’ is closed to new replies.