$vertigo_options['accent_color'],
'width' => 960,
'height' => 240,
'flex-height' => true,
'wp-head-callback' => 'vertigo_header_style',
'admin-head-callback' => 'vertigo_admin_header_style',
) ) );
}
add_action( 'after_setup_theme', 'vertigo_custom_header_setup' );
if ( ! function_exists( 'vertigo_header_style' ) ) :
/**
* Styles the header image and text displayed on the blog
*
* @see vertigo_custom_header_setup().
*
* @since Vertigo 1.0
*/
function vertigo_header_style() {
$header_image = get_header_image();
// If no custom options for text are set, let's bail
if ( HEADER_TEXTCOLOR == get_header_textcolor() && empty( $header_image ) )
return;
// If we get this far, we have custom styles. Let's do this.
?>
Header admin panel.
*
* @see vertigo_custom_header_setup().
*
* @since Vertigo 1.0
*/
function vertigo_admin_header_style() {
$vertigo_options = vertigo_get_theme_options();
?>