'', 'default-text-color' => '000', 'width' => 1600, 'height' => 500, 'flex-height' => true, 'flex-width' => true, 'wp-head-callback' => 'blog_builderly_header_style', ) ) ); } add_action( 'after_setup_theme', 'blog_builderly_custom_header_setup' ); if ( ! function_exists( 'blog_builderly_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see blog_builderly_custom_header_setup(). */ function blog_builderly_header_style() { $header_image = get_header_image(); $header_text_color = get_header_textcolor(); // If no custom options for text are set, let's bail. if ( empty( $header_image ) && $header_text_color == get_theme_support( 'custom-header', 'default-text-color' ) ){ return; } // If we get this far, we have custom styles. ?>