diff --git a/inc/custom-header.php b/inc/custom-header.php new file mode 100644 index 0000000..6f5c56d --- /dev/null +++ b/inc/custom-header.php @@ -0,0 +1,36 @@ + get_parent_theme_file_uri( '/img/header.jpg' ), + 'width' => 2000, + 'height' => 1200, + 'flex-height' => true + ) ) ); + + register_default_headers( array( + 'default-image' => array( + 'url' => '%s/img/header.jpg', + 'thumbnail_url' => '%s/img/header.jpg', + 'description' => __( 'Default Header Image', 'understrap' ), + ), + ) ); +} +add_action( 'after_setup_theme', 'understrap_custom_header_setup' ); \ No newline at end of file