* * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package biography */ /** * Set up the WordPress core custom header feature. * * @uses biography_header_style() */ function biography_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'biography_custom_header_args', array( 'default-image' => get_template_directory_uri().'/assets/img/banner.jpg', 'default-text-color' => '000000', 'width' => 1920, 'height' => 635, 'flex-height' => true, ) ) ); } add_action( 'after_setup_theme', 'biography_custom_header_setup' );