'', 'default-text-color' => '88C34B', 'width' => 240, 'height' => 60, 'flex-width' => false, 'flex-height' => true, 'wp-head-callback' => 'ari_header_style', ); add_theme_support( 'custom-header', $args ); } add_action( 'after_setup_theme', 'ari_custom_header_setup', 11 ); /** * Style the header text displayed on the blog. * * @return void */ function ari_header_style() { $header_image = get_header_image(); $text_color = get_header_textcolor(); // If no custom options for text are set, let's bail. if ( empty( $header_image ) && $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) return; // If we get this far, we have custom styles. ?>