Support » Theme: Twenty Sixteen » How to change settings in functions.php

  • I have created a child theme to TwentySixteen because I want to change the settings in one of the functions.

    I found the ideas written in https://wordpress.org/support/topic/twenty-sixteen-size-logo/
    and added this to the child functions.php

    function add_stuff_to_theme() {
    
    add_theme_support( 'custom-logo', array(
    		'height'      => 630,
    		'width'       => 1200,
    		'flex-height' => true,
    	) );
    }
    
    add_action( 'after_setup_theme', 'add_stuff_to_theme', 11 );

    But it doesn’t work.

    What can I do?

  • You must be logged in to reply to this topic.