Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #167358

    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?

    Thank you,


    Hello Dan!

    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.



    Ok, will do. I was hoping there might be a way to just include all files via a setting or something but I’ll make the changes in the parent theme.

    Thank you for your quick reply!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Override files in Framework folder with child theme’ is closed to new replies.