* * @package */ /** * Set up the WordPress core custom header feature. * * @uses ihbp_header_style() * @uses ihbp_admin_header_style() * @uses ihbp_admin_header_image() */ function ihbp_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'ihbp_custom_header_args', array( 'default-text-color' => '#000', 'default-image' => get_template_directory_uri()."/assets/images/header.jpg", 'width' => 1920, 'height' => 667, 'flex-height' => true, 'wp-head-callback' => 'ihbp_header_style', ) ) ); } add_action( 'after_setup_theme', 'ihbp_custom_header_setup' ); if ( ! function_exists( 'ihbp_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see ihbp_custom_header_setup(). */ function ihbp_header_style() { ?>