One thought on “How to Replace $args in twentytwelve_custom_header_setup Using custom-header?

  1. Rev. Voodoo Post author

    Doh… I have no idea what I did wrong…. but here it is!

    function twentytwelvechild_custom_header_setup() {
    	$header_args = array( 
    		'width' => 1110,
    		'height' => 228
    	 );
    	add_theme_support( 'custom-header', $header_args );
    }
    add_action( 'after_setup_theme', 'twentytwelvechild_custom_header_setup' );
    

    I’ll post a tutorial very soon covering everything needed to adjust the width of the theme!

    Reply

Leave a Reply