* * @package Intro */ /** * Set up the WordPress core custom header feature. * * @uses intro_header_style() * @uses intro_admin_header_style() * @uses intro_admin_header_image() */ function intro_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'intro_custom_header_args', array( 'default-image' => '', 'default-text-color' => '000000', 'width' => 1920, 'height' => 1080, 'flex-height' => true, 'wp-head-callback' => 'intro_header_style', 'admin-head-callback' => 'intro_admin_header_style', 'admin-preview-callback' => 'intro_admin_header_image', ) ) ); } add_action( 'after_setup_theme', 'intro_custom_header_setup' ); if ( ! function_exists( 'intro_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see intro_custom_header_setup(). */ function intro_header_style() { if ( get_header_image() ) { ?> Header admin panel. * * @see intro_custom_header_setup(). */ function intro_admin_header_style() { ?> Header admin panel. * * @see intro_custom_header_setup(). */ function intro_admin_header_image() { $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); ?>

onclick="return false;" href="">

>