Ticket #23701: 23701.3.diff
File 23701.3.diff, 3.0 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentythirteen/404.php
21 21 <h2><?php _e( 'This is somewhat embarrassing, isn’t it?', 'twentythirteen' ); ?></h2> 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 --> 27 27 -
wp-content/themes/twentythirteen/content-none.php
20 20 <?php elseif ( is_search() ) : ?> 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; ?> 31 31 </div><!-- .page-content --> -
wp-content/themes/twentythirteen/header.php
51 51 <h3 class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></h3> 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 --> 57 57 </header><!-- #masthead --> -
wp-content/themes/twentythirteen/functions.php
548 548 add_filter( 'the_content', 'twentythirteen_aside_date', 8 ); // After embeds, before everything else. 549 549 550 550 /** 551 * Switches default core markup for search form to output valid HTML5. 552 * 553 * @param string $format Expected markup format, default is `xhtml` 554 * @return string Twenty Thirteen loves HTML5. 555 */ 556 function twentythirteen_searchform_format( $format ) { 557 return 'html5'; 558 } 559 add_filter( 'search_form_format', 'twentythirteen_searchform_format' ); 560 561 /** 551 562 * Add postMessage support for site title and description for the Customizer. 552 563 * 553 564 * @since Twenty Thirteen 1.0