'',
'default-text-color' => '131313',
'width' => 1000,
'height' => 250,
'flex-height' => true,
'wp-head-callback' => 'awa_header_style',
) ) );
// Set up the WordPress core custom background feature.
add_theme_support( 'custom-background', apply_filters( 'awa_custom_background_args', array(
'default-color' => 'fff',
'default-image' => '',
) ) );
}
endif;
add_action( 'after_setup_theme', 'awa_custom_header_setup' );
if ( ! function_exists( 'awa_header_style' ) ) :
/**
* Styles the header image and text displayed on the blog.
*
* @see awa_custom_header_setup().
*/
function awa_header_style() {
$header_text_color = get_header_textcolor();
$header_image = get_header_image();
if ( $header_image ) : ?>