• Hey guys. So I’m creating a second child theme for mobile devices and would like to disable the header to help increase load time according to google. Any help here would be much appreciated.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter dansperfect

    (@dansperfect)

    I have tried this with no success:

    add_action( ‘after_setup_theme’, ‘remove_custom_header’, 11 );

    function remove_custom_header() {

    remove_theme_support( ‘custom-header’ );

    }

    And this comes out of WordPress examples

Viewing 1 replies (of 1 total)
  • The topic ‘Deactivate Header for Mobile Themed Child’ is closed to new replies.