Photos: Make sure new custom header file is being loaded, and styles to hide site title and description are being added via callback. Fixes #591.

This commit is contained in:
Laurel Fulford 2019-02-11 09:20:52 -08:00
parent 065f580d2c
commit 77817099dc
2 changed files with 6 additions and 0 deletions

View file

@ -231,6 +231,11 @@ require get_template_directory() . '/inc/logo-resizer.php';
*/
require get_template_directory() . '/inc/jetpack.php';
/**
* Load Custom Header funtionality.
*/
require get_template_directory() . '/inc/custom-header.php';
/**
* SVG icons functions and filters.
*/

View file

@ -25,6 +25,7 @@ function photos_custom_header_setup() {
'height' => 400,
'flex-height' => true,
'flex-width' => true,
'wp-head-callback' => 'photos_header_style'
) ) );
}
add_action( 'after_setup_theme', 'photos_custom_header_setup' );