'A0A0A0', 'default-image' => '', 'width' => 1200, 'max-width' => 1200, 'flex-height' => true, 'flex-width' => false, 'random-default' => true, 'wp-head-callback' => 'arete_header_style', 'admin-head-callback' => 'arete_admin_header_style', 'admin-preview-callback' => 'arete_admin_header_image', ); add_theme_support( 'custom-header', $args ); } add_action( 'after_setup_theme', 'arete_custom_header_setup' ); function arete_header_style() { $text_color = get_header_textcolor(); // If no custom options for text are set, let's bail if ( $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) return; // If we get this far, we have custom styles. ?>