get_template_directory_uri() . '/images/abnomizehd.png', 'default-text-color' => '000000', 'width' => 1284, 'height' => 250, 'header-text' => false, 'flex-height' => true, 'flex-width' => true, 'wp-head-callback' => 'abnomize_header_style', ) ) ); } add_action( 'after_setup_theme', 'abnomize_custom_header_setup' ); function abnomize_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. ?>