Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

default_headers_landscap

// Register Default Headers
function custom_default_headers() {

	$headers = array(
		'sky' => array(
			'description'   => __( 'Sky', 'text_domain' ),
			'url'           => '%s/images/headers/sky.jpg',
			'thumbnail_url' => '%s/images/headers/sky-thumbnail.jpg',
		),
		'shore' => array(
			'description'   => __( 'Shore', 'text_domain' ),
			'url'           => '%s/images/headers/shore.jpg',
			'thumbnail_url' => '%s/images/headers/shore-thumbnail.jpg',
		),
		'desert' => array(
			'description'   => __( 'Desert', 'text_domain' ),
			'url'           => '%s/images/headers/desert.jpg',
			'thumbnail_url' => '%s/images/headers/desert-thumbnail.jpg',
		),
	);
	register_default_headers( $headers );

}

// Hook into the 'after_setup_theme' action
add_action( 'after_setup_theme', 'custom_default_headers' );