From 00c9709fd9763542e848f6278db8ba26af5c9886 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 Oct 2018 23:46:42 +0200 Subject: Initial commit. --- inc/custom-header.php | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 inc/custom-header.php (limited to 'inc/custom-header.php') diff --git a/inc/custom-header.php b/inc/custom-header.php new file mode 100644 index 0000000..b66a416 --- /dev/null +++ b/inc/custom-header.php @@ -0,0 +1,49 @@ + 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' ), + ), + ) ); + } +} \ No newline at end of file -- cgit v1.2.3