* * @package hanne */ /** * Set up the WordPress core custom header feature. * * @uses hanne_header_style() * @uses hanne_admin_header_style() * @uses hanne_admin_header_image() */ function hanne_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'hanne_custom_header_args', array( 'default-text-color' => '#000', 'width' => 1440, 'height' => 380, 'flex-height' => true, 'wp-head-callback' => 'hanne_header_style', ) ) ); } add_action( 'after_setup_theme', 'hanne_custom_header_setup' ); if ( ! function_exists( 'hanne_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see hanne_custom_header_setup(). */ function hanne_header_style() { ?>