'444', 'default-image' => '', // Uploads and support header-text 'uploads' => true, 'header-text' => true, // Set height and width, with a maximum value for the width. 'height' => 111, 'width' => 940, 'max-width' => 940, // Support flexible height and width. 'flex-height' => true, 'flex-width' => false, // Random image rotation off by default. 'random-default' => false, // Callbacks for styling the header and the admin preview. 'wp-head-callback' => 'archy_header_style', 'admin-head-callback' => 'archy_admin_header_style', 'admin-preview-callback' => 'archy_admin_header_image', ); add_theme_support( 'custom-header', $args ); } /** * Style the header text displayed on the blog. * * get_header_textcolor() options: 666666 is default, hide text (returns 'blank'), or any hex value. * */ function archy_header_style() { $text_color = get_header_textcolor(); // If no custom options for text are set, let's bail if ( $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) return; // If we get this far, we have custom styles. ?> Header admin panel. */ function archy_admin_header_style() { ?> Header admin panel. * * This callback overrides the default markup displayed there. */ function archy_admin_header_image() { ?>

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

>