'464646', 'width' => apply_filters( 'sundance_header_image_width', 984 ), 'height' => apply_filters( 'sundance_header_image_height', 242 ), 'flex-height' => true, 'wp-head-callback' => 'sundance_header_style', 'admin-head-callback' => 'sundance_admin_header_style', 'admin-preview-callback' => 'sundance_admin_header_image', ) ) ); } add_action( 'after_setup_theme', 'sundance_custom_header_setup' ); if ( ! function_exists( 'sundance_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @since Sundance 1.0 */ function sundance_header_style() { // If no custom options for text are set, let's bail // get_header_textcolor() options: the default set via add_theme_support(), hide text (returns 'blank') or any hex value if ( get_theme_support( 'custom-header', 'default-text-color' ) === get_header_textcolor() ) return; // If we get this far, we have custom styles. Let's do this. ?> Header admin panel. * * @since Sundance 1.0 */ function sundance_admin_header_style() { ?> Header admin panel. * * @since sundance 1.0 */ function sundance_admin_header_image() { $style = sprintf( ' style="color:#%s;"', sanitize_hex_color_no_hash( get_header_textcolor() ) ); $header_image = get_header_image(); ?>

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

>