'',
'default-text-color' => '000000',
'width' => 1000,
'height' => 250,
'flex-height' => true,
'wp-head-callback' => 'academic_header_style',
) ) );
}
add_action( 'after_setup_theme', 'academic_custom_header_setup' );
if ( ! function_exists( 'academic_custom_header' ) ) :
/**
* Custom Header Codes
*
* @since Academic 0.3
*
*/
function academic_custom_header() {
/**
* Filter the default twentysixteen custom header sizes attribute.
*
* @since Academic 0.3
*
*/
$header_image_meta = academic_header_image_meta_option();
if ( ( '' == $header_image_meta && ! get_header_image() ) || ! $header_image_meta ) {
return;
}
?>