get_template_directory_uri() . '/img/headers/' . $camerastyle . '.png', 'default-text-color' => $defaults['default-text-color'], 'width' => 600, 'height' => 300, 'flex-width' => true, 'flex-height' => true, 'wp-head-callback' => 'vintage_camera_header_style', 'admin-head-callback' => 'vintage_camera_admin_header_style', 'admin-preview-callback' => 'vintage_camera_admin_header_image', ) ) ); // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI. register_default_headers( array( 'brownie' => array( 'url' => '%s/img/headers/brownie.png', 'thumbnail_url' => '%s/img/headers/brownie-thumbnail.png', 'description' => __( 'Brownie', 'vintage-camera' ) ), 'polaroid' => array( 'url' => '%s/img/headers/polaroid.png', 'thumbnail_url' => '%s/img/headers/polaroid-thumbnail.png', 'description' => __( 'Land', 'vintage-camera' ) ), 'diana' => array( 'url' => '%s/img/headers/diana.png', 'thumbnail_url' => '%s/img/headers/diana-thumbnail.png', 'description' => __( 'Diana', 'vintage-camera' ) ), 'k1000' => array( 'url' => '%s/img/headers/k1000.png', 'thumbnail_url' => '%s/img/headers/k1000-thumbnail.png', 'description' => __( 'K1000', 'vintage-camera' ) ), 'sabre' => array( 'url' => '%s/img/headers/sabre.png', 'thumbnail_url' => '%s/img/headers/sabre-thumbnail.png', 'description' => __( 'Sabre', 'vintage-camera' ) ), 'savoy' => array( 'url' => '%s/img/headers/savoy.png', 'thumbnail_url' => '%s/img/headers/savoy-thumbnail.png', 'description' => __( 'Savoy', 'vintage-camera' ) ) ) ); } add_action( 'after_setup_theme', 'vintage_camera_custom_header_setup' ); if ( ! function_exists( 'vintage_camera_header_setup' ) ) : /** * Styles the header image and text displayed on the blog */ function vintage_camera_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 vintage_camera_admin_header_style() { $defaults = vintage_camera_get_layout_defaults(); ?> Header admin panel. */ function vintage_camera_admin_header_image() { ?>

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

>
>