[Resolved] Poor child-theme support?
I’m doing a bit of customizing using a child theme, but I’ve run into a roadblock.
I’ve modified the Customizer options in /inc/customizer.php, but the child theme version of the file isn’t being called. It’s still using the file in the parent theme because of the call
require get_template_directory() . '/inc/customizer.php';
As far as I know, it’s not possible to ‘unrequire’ a file and replace it with the child version. This can be fixed by changing this line in the parent theme to
require get_stylesheet_directory() . '/inc/customizer.php';
We obviously don’t want to change the parent theme, as they’ll be lost when the theme updates.
I’m hoping the developer will be able to make this change in the next update to allow for better child-theme support.
Is there any other way to achieve this by not editing the parent them?
- The topic ‘[Resolved] Poor child-theme support?’ is closed to new replies.