A fork of the WordPress Twenty Seventeen theme; used to power the Sandia Mesa websites.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
936 B

  1. <?php
  2. /**
  3. * Template for displaying search forms in Twenty Seventeen
  4. *
  5. * @package Simple_Nineteen
  6. * @since 1.0
  7. * @version 1.0
  8. */
  9. ?>
  10. <?php $unique_id = esc_attr( simplenineteen_unique_id( 'search-form-' ) ); ?>
  11. <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
  12. <label for="<?php echo $unique_id; ?>">
  13. <span class="screen-reader-text"><?php echo _x( 'Search for:', 'label', 'simplenineteen' ); ?></span>
  14. </label>
  15. <input type="search" id="<?php echo $unique_id; ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'simplenineteen' ); ?>" value="<?php echo get_search_query(); ?>" name="s" />
  16. <button type="submit" class="search-submit"><?php echo simplenineteen_get_svg( array( 'icon' => 'search' ) ); ?><span class="screen-reader-text"><?php echo _x( 'Search', 'submit button', 'simplenineteen' ); ?></span></button>
  17. </form>