diff --git a/functions.php b/functions.php index c68a5f52..ded25f5c 100644 --- a/functions.php +++ b/functions.php @@ -67,6 +67,18 @@ function _s_setup() { // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); + + /** + * Add support for core custom logo. + * + * @link https://codex.wordpress.org/Theme_Logo + */ + add_theme_support( 'custom-logo', array( + 'height' => 250, + 'width' => 250, + 'flex-width' => true, + 'flex-height' => true, + ) ); } endif; add_action( 'after_setup_theme', '_s_setup' ); diff --git a/header.php b/header.php index da215447..ef0fa423 100644 --- a/header.php +++ b/header.php @@ -26,6 +26,7 @@