Photos: Fix issues introduced to custom header
@@ -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.
@@ -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' );