File: /home/mmickelson/theflexguy.com/wp-content/themes/storefront/inc/customizer/custom-header.php
<?php
/**
* Sample implementation of the Custom Header feature
* http://codex.wordpress.org/Custom_Headers
*
* You can add an optional custom header image to header.php like so ...
<?php if ( get_header_image() ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="">
</a>
<?php endif; // End header image check. ?>
*
* @package storefront
*/
/**
* Setup the WordPress core custom header feature.
*
* @uses storefront_header_style()
* @uses storefront_admin_header_style()
* @uses storefront_admin_header_image()
*/
function storefront_custom_header_setup() {
add_theme_support( 'custom-header', apply_filters( 'storefront_custom_header_args', array(
'default-image' => '',
'header-text' => false,
'width' => 1950,
'height' => 500,
'flex-width' => true,
'flex-height' => true,
) ) );
}