• 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://www.ads-software.com/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?

  • The topic ‘How to change settings in functions.php’ is closed to new replies.