* * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package Business Lawyer Firm */ /** * Set up the WordPress core custom header feature. * * @uses business_lawyer_firm_header_style() */ function business_lawyer_firm_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'business_lawyer_firm_custom_header_args', array( 'width' => 1600, 'height' => 250, 'flex-height' => true, 'wp-head-callback' => 'business_lawyer_firm_header_style', ) ) ); } add_action( 'after_setup_theme', 'business_lawyer_firm_custom_header_setup' ); if ( ! function_exists( 'business_lawyer_firm_header_style' ) ) : /** * Styles the header image and text displayed on the blog. * * @see business_lawyer_firm_custom_header_setup(). */ function business_lawyer_firm_header_style() { $header_text_color = get_header_textcolor(); ?>