searchform.php 615 B

1234567891011
  1. <form role="search" method="get" class="search-form form-inline" action="<?php echo home_url( '/' ); ?>">
  2. <div class="input-group">
  3. <label>
  4. <span class="screen-reader-text"><?php echo _x( 'Search for:', 'label' ) ?></span>
  5. <input type="search" class="search-field form-control" placeholder="Search" value="<?php echo get_search_query() ?>" name="s" title="<?php echo esc_attr_x( 'Search for:', 'label' ) ?>" />
  6. </label>
  7. <span class="input-group-btn">
  8. <input type="submit" class="search-submit btn btn-default" value="<?php echo esc_attr_x( 'Search', 'submit button' ) ?>" />
  9. </span>
  10. </div>
  11. </form>