• I put in the functions.php of a child theme of 2013 the code

    function twentythirteenchild_custom_header_setup() {
    	$header_args = array( 'height' => 182,
    						  'width' => 940);
    	add_theme_support( 'custom-header', $header_args );
    };
    add_action( 'after_setup_theme', 'twentythirteenchild_custom_header_setup' );

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    for changing the width and height of the header but it didn’t work. What is wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to override args of 2013 for custom-header from child theme’ is closed to new replies.