'#019779', // Callbacks for styling the header and the admin preview. 'wp-head-callback' => 'bizzboss_header_style', 'admin-head-callback' => 'bizzboss_admin_header_style', 'admin-preview-callback' => 'bizzboss_admin_header_image', ); add_theme_support( 'custom-header', $bizzboss_args ); } add_action( 'after_setup_theme', 'bizzboss_custom_header_setup', 11 ); function bizzboss_header_style() { $bizzboss_header_image = get_header_image(); $bizzboss_text_color = get_header_textcolor(); $bizzboss_background_color = get_background_color(); // If no custom options for text are set, let's bail. if ( empty( $bizzboss_header_image ) && $bizzboss_text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) return; // If we get this far, we have custom styles. ?>