'333333',
'width' => 954,
'height' => 1300,
'wp-head-callback' => 'amalie_header_style',
) ) );
}
add_action( 'after_setup_theme', 'amalie_custom_header_setup' );
if ( ! function_exists( 'amalie_header_style' ) ) :
/**
* Styles the header image and text displayed on the blog.
*
* @since Amalie 1.0
*
* @see amalie_custom_header_setup()
*/
function amalie_header_style() {
$header_image = get_header_image();
$header_text_color = get_header_textcolor();
// If no custom options for text are set, let's bail.
if ( empty( $header_image ) && display_header_text() ) {
return;
}
// If we get this far, we have custom styles. Let's do this.
?>