$header_color, 'width' => 240, 'height' => 75, 'flex-height' => true, 'wp-head-callback' => 'ari_header_style', 'admin-head-callback' => 'ari_admin_header_style', 'admin-preview-callback' => 'ari_admin_header_image', ) ) ); } add_action( 'after_setup_theme', 'ari_custom_header_setup' ); if ( ! function_exists( 'ari_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see ari_custom_header_setup(). */ function ari_header_style() { ?> Header admin panel. * * @see ari_custom_header_setup(). */ function ari_admin_header_style() { $options = ari_get_theme_options(); $text_color = $options['text_color']; if ( '' != get_background_color() && '' == get_background_image() ) $background_color = get_background_color(); else $background_color = 'dark' == $options['color_scheme'] ? '1b1c1b' : 'ffffff'; ?> Header admin panel. * * @see ari_custom_header_setup(). */ function ari_admin_header_image() { $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); $header_image = get_header_image(); ?>