- Timestamp:
- 12/03/2013 05:05:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/custom-header.php
r25769 r26556 18 18 */ 19 19 function twentyfourteen_custom_header_setup() { 20 /** 21 * Filter Twenty Fourteen custom-header support arguments. 22 * 23 * @since Twenty Fourteen 1.0 24 * 25 * @param array $args { 26 * An array of custom-header support arguments. 27 * 28 * @type bool $header_text Whether to display custom header text. Default false. 29 * @type int $width Width in pixels of the custom header image. Default 1260. 30 * @type int $height Height in pixels of the custom header image. Default 240. 31 * @type bool $flex_height Whether to allow flexible-height header images. Default true. 32 * @type string $admin_head_callback Callback function used to style the image displayed in 33 * the Appearance > Header screen. 34 * @type string $admin_preview_callback Callback function used to create the custom header markup in 35 * the Appearance > Header screen. 36 * } 37 */ 20 38 add_theme_support( 'custom-header', apply_filters( 'twentyfourteen_custom_header_args', array( 21 39 'header-text' => false, … … 31 49 if ( ! function_exists( 'twentyfourteen_admin_header_style' ) ) : 32 50 /** 33 * Style the header image displayed on the Appearance > Header admin panel.51 * Style the header image displayed on the Appearance > Header screen. 34 52 * 35 * @ link twentyfourteen_custom_header_setup().53 * @see twentyfourteen_custom_header_setup() 36 54 * 37 55 * @since Twenty Fourteen 1.0 … … 66 84 if ( ! function_exists( 'twentyfourteen_admin_header_image' ) ) : 67 85 /** 68 * Create the custom header image markup displayed on the Appearance > Header admin panel.86 * Create the custom header image markup displayed on the Appearance > Header screen. 69 87 * 70 * @ link twentyfourteen_custom_header_setup().88 * @see twentyfourteen_custom_header_setup() 71 89 * 72 90 * @since Twenty Fourteen 1.0
Note: See TracChangeset
for help on using the changeset viewer.