'ffffff', 'default-image' => '', // Set height and width, with a maximum value for the width. 'height' => 300, 'width' => 1280, 'max-width' => 2000, // Support flexible height and width. 'flex-height' => true, 'flex-width' => true, // Random image rotation off by default. 'random-default' => false, // Callbacks for styling the header and the admin preview. 'wp-head-callback' => 'beyond_expectations_header_style', ); add_theme_support( 'custom-header', $args ); } add_action('after_setup_theme', 'beyond_expectations_custom_header_setup'); } /* ================================================================================================ 2.0 - Custom Header CSS ================================================================================================ */ function beyond_expectations_header_style() { $text_color = get_header_textcolor(); if ($text_color == get_theme_support('custom-header', 'default-text-color')) { return; } ?>