Changeset 10528 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/searchform.php
- Timestamp:
- 12/17/2020 12:13:25 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/searchform.php
r10272 r10528 8 8 */ 9 9 10 $placeholder = isset( $args['placeholder'] ) ? $args['placeholder'] : _x( 'Search for a teaching resource', 'placeholder', 'wporg-learn' ); 11 10 $placeholder = isset( $args['placeholder'] ) ? $args['placeholder'] : _x( 'Search for a teaching resource', 'placeholder', 'wporg-learn' ); 12 11 ?> 13 12 <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> 14 13 <label for="s" class="screen-reader-text"><?php echo esc_html( _x( 'Search for:', 'label', 'wporg-learn' ) ); ?></label> 15 <input type="search" id="s" class="search-field" placeholder="<?php echo esc_attr( $placeholder ); ?>" value="<?php the_search_query(); ?>" name="s" /> 16 <button class="button button-primary button-search"><i class="dashicons dashicons-search"></i><span class="screen-reader-text"><?php esc_html_e( 'Search Lesson Plans and Workshop Ideas', 'wporg-learn' ); ?></span></button> 14 <input 15 type="search" 16 id="s" 17 class="search-field" 18 placeholder="<?php echo esc_attr( $placeholder ); ?>" 19 value="<?php the_search_query(); ?>" 20 name="s" 21 /> 22 <button class="button button-primary button-search"> 23 <i class="dashicons dashicons-search"></i> 24 <span class="screen-reader-text"> 25 <?php esc_html_e( 'Search', 'wporg-learn' ); ?> 26 </span> 27 </button> 17 28 </form>
Note: See TracChangeset
for help on using the changeset viewer.