'%s/images/chateau-default.jpg', 'default-text-color' => '000', 'width' => 960, 'height' => 260, 'flex-height' => true, 'wp-head-callback' => 'chateau_header_style', 'admin-head-callback' => 'chateau_admin_header_style', 'admin-preview-callback' => 'chateau_admin_header_image', ) ) ); // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI. register_default_headers( array( 'chateau_default' => array( 'url' => '%s/images/chateau-default.jpg', 'thumbnail_url' => '%s/images/chateau-default.jpg', 'description' => _x( 'Chateau Default Header', 'header image description', 'chateau' ) ), ) ); } add_action( 'after_setup_theme', 'chateau_custom_header_setup' ); if ( ! function_exists( 'chateau_header_style' ) ) : /** * Styles the header image and text displayed on the blog * */ function chateau_header_style() { // If no custom options for text are set, let's bail // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value if ( HEADER_TEXTCOLOR == get_header_textcolor() ) return; // If we get this far, we have custom styles. Let's do this. ?> Header admin panel. * */ function chateau_admin_header_style() { ?> Header admin panel. * */ function chateau_admin_header_image() { ?>

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

>~