wp-content/themes/twentythirteen/inc/custom-header.php:88Style the header text displayed on the blog.
function twentythirteen_header_style() { $header_image = get_header_image(); $text_color = get_header_textcolor(); // If no custom options for text are set, let's bail. if ( empty( $header_image ) && get_theme_support( 'custom-header', 'default-text-color' ) === $text_color ) { return; } // If we get this far, we have custom styles. ?> <style type="text/css" id="twentythirteen-header-css"> <?php if ( ! empty( $header_image ) ) : ?> .site-header { background: url(<?php header_image(); ?>) no-repeat scroll top; background-size: 1600px auto; } @media (max-width: 767px) { .site-header { background-size: 768px auto; } } @media (max-width: 359px) { .site-header { background-size: 360px auto; } } <?php endif; // Has the text been hidden? if ( ! display_header_text() ) : ?> .site-title, .site-description { position: absolute; clip-path: inset(50%); } <?php if ( empty( $header_image ) ) : ?> .site-header .home-link { min-height: 0; } <?php endif; // If the user has set a custom color for the text, use that. elseif ( get_theme_support( 'custom-header', 'default-text-color' ) !== $text_color ) : ?> .site-title, .site-description { color: #<?php echo esc_attr( $text_color ); ?>; } <?php endif; ?> </style> <?php}Introduced in Twenty Thirteen 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentythirteen/inc/custom-header.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.