Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

blogfit header

header style

// Register Default Headers
function blog_default_headers() {

	$headers = array(
		'style1' => array(
			'description'   => __( 'Style one', 'text_domain' ),
			'url'           => 'header1.png',
			'thumbnail_url' => 'header1_thumb.png',
		),
		'style2' => array(
			'description'   => __( 'style two', 'text_domain' ),
			'url'           => 'header2.png',
			'thumbnail_url' => 'header2_thumb.png',
		),
	);
	register_default_headers( $headers );

}

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