Changeset 24421
- Timestamp:
- 06/06/2013 05:20:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/functions.php
r24405 r24421 77 77 // Adds RSS feed links to <head> for posts and comments. 78 78 add_theme_support( 'automatic-feed-links' ); 79 80 // Switches default core markup for search form to output valid HTML5. 81 add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) ); 79 82 80 83 /* … … 554 557 555 558 /** 556 * Switches default core markup for search form to output valid HTML5.557 *558 * @param string $format Expected markup format, default is `xhtml`559 * @return string Twenty Thirteen loves HTML5.560 */561 function twentythirteen_search_form_format( $format ) {562 return 'html5';563 }564 add_filter( 'search_form_format', 'twentythirteen_search_form_format' );565 566 /**567 559 * Add postMessage support for site title and description for the Customizer. 568 560 *
Note: See TracChangeset
for help on using the changeset viewer.