Cannot remove custom-header in child theme
-
Ok so im making a secondary child theme for my site that will be used for mobile. I want to remove the custom header on this secondary child theme while the main child theme has it active. So in the secondary theme in functions.php I added.
add_action( ‘after_setup_theme’, ‘remove_custom_header’, 11 );
function remove_custom_header() {
remove_theme_support( ‘custom-header’ );
}
But the damned custom-header persists. Any help would be nice here.
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Cannot remove custom-header in child theme’ is closed to new replies.