searchform.php 528 B

12345678910111213
  1. <?php
  2. /**
  3. * The template for displaying search forms in _s
  4. *
  5. * @package _s
  6. * @since _s 1.0
  7. */
  8. ?>
  9. <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
  10. <label for="s" class="assistive-text"><?php _e( 'Search', '_s' ); ?></label>
  11. <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search &hellip;', '_s' ); ?>" />
  12. <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', '_s' ); ?>" />
  13. </form>