Fix indentation & space usage
This commit is contained in:
parent
b653d6f2ce
commit
7ee9cfd18e
|
@ -31,19 +31,27 @@ if ( ! function_exists ( 'understrap_custom_header_setup' ) ) {
|
|||
* @type string $flex-height Flex support for height of header.
|
||||
* }
|
||||
*/
|
||||
add_theme_support( 'custom-header', apply_filters( 'understrap_custom_header_args', array(
|
||||
add_theme_support(
|
||||
'custom-header',
|
||||
apply_filters(
|
||||
'understrap_custom_header_args',
|
||||
array(
|
||||
'default-image' => get_parent_theme_file_uri( '/img/header.jpg' ),
|
||||
'width' => 2000,
|
||||
'height' => 1200,
|
||||
'flex-height' => true,
|
||||
) ) );
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
register_default_headers( array(
|
||||
register_default_headers(
|
||||
array(
|
||||
'default-image' => array(
|
||||
'url' => '%s/img/header.jpg',
|
||||
'thumbnail_url' => '%s/img/header.jpg',
|
||||
'description' => __( 'Default Header Image', 'understrap' ),
|
||||
),
|
||||
) );
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue