diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php index e109a2bcff..7daeefae7e 100644 --- a/src/wp-content/themes/twentyfifteen/functions.php +++ b/src/wp-content/themes/twentyfifteen/functions.php @@ -103,6 +103,14 @@ function twentyfifteen_setup() { 'aside', 'image', 'video', 'quote', 'link', 'gallery', 'status', 'audio', 'chat' ) ); + /* + * Enable support for custom logo. + * + * @since Twenty Fifteen 1.5 + */ + add_image_size( 'twentyfifteen-logo', 248, 248 ); + add_theme_support( 'custom-logo', array( 'size' => 'twentyfifteen-logo' ) ); + $color_scheme = twentyfifteen_get_color_scheme(); $default_color = trim( $color_scheme[0], '#' ); diff --git a/src/wp-content/themes/twentyfifteen/header.php b/src/wp-content/themes/twentyfifteen/header.php index e415915c59..28de34ed9f 100644 --- a/src/wp-content/themes/twentyfifteen/header.php +++ b/src/wp-content/themes/twentyfifteen/header.php @@ -29,6 +29,8 @@