get_template_directory_uri() . '/images/header.jpg', 'default-text-color' => 'fff', 'width' => 1200, 'height' => 300, 'wp-head-callback' => 'modena_header_style', 'admin-head-callback' => 'modena_admin_header_style', 'admin-preview-callback' => 'modena_admin_header_image', ); $args = apply_filters( 'modena_custom_header_args', $args ); if ( function_exists( 'wp_get_theme' ) ) { add_theme_support( 'custom-header', $args ); } } add_action( 'after_setup_theme', 'modena_custom_header_setup' ); if ( ! function_exists( 'modena_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see modena_custom_header_setup(). * * @since Purple Modena 1.0 */ function modena_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() && '' == get_header_image() ) return; // If we get this far, we have custom styles. Let's do this. ?> Header admin panel. * * @see modena_custom_header_setup(). * * @since Purple Modena 1.0 */ function modena_admin_header_style() { ?> Header admin panel. * * @see modena_custom_header_setup(). * * @since Purple Modena 1.0 */ function modena_admin_header_image() { ?>

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

>