* * @link http://codex.wordpress.org/Custom_Headers * * @package blog64 */ /** * Set up the WordPress core custom header feature. * * @uses blog64_header_style() * @uses blog64_admin_header_style() * @uses blog64_admin_header_image() */ function blog64_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'blog64_custom_header_args', array( 'default-image' => '', 'default-text-color' => '000000', 'width' => 1920, 'height' => 400, 'flex-height' => true, 'wp-head-callback' => 'blog64_header_style', 'admin-head-callback' => 'blog64_admin_header_style', 'admin-preview-callback' => 'blog64_admin_header_image', ) ) ); } add_action( 'after_setup_theme', 'blog64_custom_header_setup' ); if ( ! function_exists( 'blog64_admin_header_style' ) ) : /** * Styles the header image displayed on the Appearance > Header admin panel. * * @see blog64_custom_header_setup(). */ function blog64_admin_header_style() { ?> Header admin panel. * * @see blog64_custom_header_setup(). */ function blog64_admin_header_image() { ?>