get_template_directory_uri() . '/images/header.jpg', 'default-text-color' => 'fff', 'width' => 1300, 'height' => 200, 'flex-height' => true, 'wp-head-callback' => 'seos_photography_header_style', ) ) ); } add_action( 'after_setup_theme', 'seos_photography_custom_header_setup' ); register_default_headers( array( 'yourimg' => array( 'url' => get_template_directory_uri() . '/images/header.jpg', 'thumbnail_url' => get_template_directory_uri() . '/images/header.jpg', 'description' => _x( 'Default Image', 'header image description', 'seos-photography' )), )); if ( ! function_exists( 'seos_photography_header_style' ) ) : /** * Styles the header image and text displayed on the blog. * * @see seos_photography_custom_header_setup(). */ function seos_photography_header_style() { $seos_photography_header_text_color = get_header_textcolor(); // If we get this far, we have custom styles. Let's do this. ?>