updated theme Twenty Seventeen
version 2.4
This commit is contained in:
@ -16,25 +16,25 @@
|
||||
*/
|
||||
function twentyseventeen_custom_header_setup() {
|
||||
|
||||
/**
|
||||
* Filter Twenty Seventeen custom-header support arguments.
|
||||
*
|
||||
* @since Twenty Seventeen 1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* An array of custom-header support arguments.
|
||||
*
|
||||
* @type string $default-image Default image of the header.
|
||||
* @type int $width Width in pixels of the custom header image. Default 954.
|
||||
* @type int $height Height in pixels of the custom header image. Default 1300.
|
||||
* @type string $flex-height Flex support for height of header.
|
||||
* @type string $video Video support for header.
|
||||
* @type string $wp-head-callback Callback function used to styles the header image and text
|
||||
* displayed on the blog.
|
||||
* }
|
||||
*/
|
||||
add_theme_support(
|
||||
'custom-header',
|
||||
/**
|
||||
* Filters Twenty Seventeen custom-header support arguments.
|
||||
*
|
||||
* @since Twenty Seventeen 1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* An array of custom-header support arguments.
|
||||
*
|
||||
* @type string $default-image Default image of the header.
|
||||
* @type int $width Width in pixels of the custom header image. Default 954.
|
||||
* @type int $height Height in pixels of the custom header image. Default 1300.
|
||||
* @type string $flex-height Flex support for height of header.
|
||||
* @type string $video Video support for header.
|
||||
* @type string $wp-head-callback Callback function used to styles the header image and text
|
||||
* displayed on the blog.
|
||||
* }
|
||||
*/
|
||||
apply_filters(
|
||||
'twentyseventeen_custom_header_args',
|
||||
array(
|
||||
|
Reference in New Issue
Block a user