Changeset 23799
- Timestamp:
- 03/26/2013 08:34:37 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentythirteen
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/404.php
r23755 r23799 22 22 <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentythirteen' ); ?></p> 23 23 24 <?php get_search_form( true, 'html5'); ?>24 <?php get_search_form(); ?> 25 25 </div><!-- .page-content --> 26 26 </div><!-- .page-wrapper --> -
trunk/wp-content/themes/twentythirteen/content-none.php
r23755 r23799 21 21 22 22 <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p> 23 <?php get_search_form( true, 'html5'); ?>23 <?php get_search_form(); ?> 24 24 25 25 <?php else : ?> 26 26 27 27 <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p> 28 <?php get_search_form( true, 'html5'); ?>28 <?php get_search_form(); ?> 29 29 30 30 <?php endif; ?> -
trunk/wp-content/themes/twentythirteen/functions.php
r23795 r23799 547 547 548 548 /** 549 * Switches default core markup for search form to output valid HTML5. 550 * 551 * @param string $format Expected markup format, default is `xhtml` 552 * @return string Twenty Thirteen loves HTML5. 553 */ 554 function twentythirteen_searchform_format( $format ) { 555 return 'html5'; 556 } 557 add_filter( 'search_form_format', 'twentythirteen_searchform_format' ); 558 559 /** 549 560 * Add postMessage support for site title and description for the Customizer. 550 561 * -
trunk/wp-content/themes/twentythirteen/header.php
r23680 r23799 52 52 <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a> 53 53 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> 54 <?php get_search_form( true, 'html5'); ?>54 <?php get_search_form(); ?> 55 55 </nav><!-- #site-navigation --> 56 56 </div><!-- #navbar -->
Note: See TracChangeset
for help on using the changeset viewer.