Changeset 43571 for trunk/src/wp-content/themes/twentyfifteen/functions.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/functions.php
r42343 r43571 94 94 */ 95 95 add_theme_support( 96 'html5', array( 96 'html5', 97 array( 97 98 'search-form', 98 99 'comment-form', … … 109 110 */ 110 111 add_theme_support( 111 'post-formats', array( 112 'post-formats', 113 array( 112 114 'aside', 113 115 'image', … … 128 130 */ 129 131 add_theme_support( 130 'custom-logo', array( 132 'custom-logo', 133 array( 131 134 'height' => 248, 132 135 'width' => 248, … … 153 156 */ 154 157 add_theme_support( 155 'custom-background', apply_filters( 156 'twentyfifteen_custom_background_args', array( 158 'custom-background', 159 apply_filters( 160 'twentyfifteen_custom_background_args', 161 array( 157 162 'default-color' => $default_color, 158 163 'default-attachment' => 'fixed', … … 253 258 'family' => urlencode( implode( '|', $fonts ) ), 254 259 'subset' => urlencode( $subsets ), 255 ), 'https://fonts.googleapis.com/css' 260 ), 261 'https://fonts.googleapis.com/css' 256 262 ); 257 263 } … … 308 314 wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20150330', true ); 309 315 wp_localize_script( 310 'twentyfifteen-script', 'screenReaderText', array( 316 'twentyfifteen-script', 317 'screenReaderText', 318 array( 311 319 'expand' => '<span class="screen-reader-text">' . __( 'expand child menu', 'twentyfifteen' ) . '</span>', 312 320 'collapse' => '<span class="screen-reader-text">' . __( 'collapse child menu', 'twentyfifteen' ) . '</span>',
Note: See TracChangeset
for help on using the changeset viewer.