X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/849f15aeed7a5e39314057bdc0064d8edd60dd7d..46588ee871246a923d972538dbc93b26f4fda932:/wp-content/themes/twentythirteen/inc/custom-header.php diff --git a/wp-content/themes/twentythirteen/inc/custom-header.php b/wp-content/themes/twentythirteen/inc/custom-header.php index 61bc6aff..6a9a6adc 100644 --- a/wp-content/themes/twentythirteen/inc/custom-header.php +++ b/wp-content/themes/twentythirteen/inc/custom-header.php @@ -2,7 +2,7 @@ /** * Implement a custom header for Twenty Thirteen * - * @link http://codex.wordpress.org/Custom_Headers + * @link https://codex.wordpress.org/Custom_Headers * * @package WordPress * @subpackage Twenty_Thirteen @@ -216,12 +216,15 @@ function twentythirteen_admin_header_style() { * @since Twenty Thirteen 1.0 */ function twentythirteen_admin_header_image() { + $style = 'color: #' . get_header_textcolor() . ';'; + if ( ! display_header_text() ) { + $style = 'display: none;'; + } ?> -
- +