'f7ef00', 'header-text' => true, // Callbacks for styling the header and the admin preview. 'wp-head-callback' => 'tailor_header_style', 'admin-head-callback' => 'tailor_admin_header_style', 'admin-preview-callback' => 'tailor_admin_header_image', ); add_theme_support( 'custom-header', $tailor_args ); } add_action( 'after_setup_theme', 'tailor_custom_header_setup', 11 ); function tailor_header_style() { $tailor_header_image = get_header_image(); $tailor_text_color = get_header_textcolor(); // If no custom options for text are set, let's bail. if ( empty( $tailor_header_image ) && $tailor_text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) return; // If we get this far, we have custom styles. ?>