'733a23', // Callbacks for styling the header and the admin preview. 'wp-head-callback' => 'educate_header_style', 'admin-head-callback' => 'educate_admin_header_style', 'admin-preview-callback' => 'educate_admin_header_image', ); add_theme_support( 'custom-header', $educate_args ); } add_action( 'after_setup_theme', 'educate_custom_header_setup', 11 ); add_action( 'admin_print_styles-appearance_page_custom-header', 'educate_custom_header_fonts' ); function educate_header_style() { $educate_header_image = get_header_image(); $educate_text_color = get_header_textcolor(); // If no custom options for text are set, let's bail. if ( empty( $educate_header_image ) && $educate_text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) return; // If we get this far, we have custom styles. ?>