Hi
I’m trying to use a _footer.php file in a Responsive Shop based child theme.
It seems that that there is some code missing in the parent theme footer.php file that will allow this.
The following is present in the header.php file …
if(defined(‘CHILD_THEME_NAME’) && file_exists(WP_CONTENT_DIR.”/themes/”.CHILD_THEME_NAME.”/_header.php”) ){
include(WP_CONTENT_DIR.”/themes/”.CHILD_THEME_NAME.”/_header.php”);
}
… but similar code doesn’t exist in footer.php so my child theme won’t override it.
Please fix or let me know where I’m going wrong.
Cheers, Steve
This reply is for PremiumPress customers only.
498
Views
3
Replies
Copyright © 2010-2025 PremiumPress Limited.
Hi
I’m trying to use a _footer.php file in a Responsive Shop based child theme.
It seems that that there is some code missing in the parent theme footer.php file that will allow this.
The following is present in the header.php file …
if(defined(‘CHILD_THEME_NAME’) && file_exists(WP_CONTENT_DIR.”/themes/”.CHILD_THEME_NAME.”/_header.php”) ){
include(WP_CONTENT_DIR.”/themes/”.CHILD_THEME_NAME.”/_header.php”);
}
… but similar code doesn’t exist in footer.php so my child theme won’t override it.
Please fix or let me know where I’m going wrong.
Cheers,
Steve
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now