searchform.php 516 B

123456789
  1. <form role="search" method="get" class="search-form" id="searchform" action="<?php echo home_url( '/' ); ?>">
  2. <div class="input-group mb-3">
  3. <input type="search" id="s" class="form-control search-field"
  4. placeholder="<?php echo esc_attr_x( 'Search', 'placeholder' ) ?>"
  5. value="<?php echo get_search_query() ?>" name="s"
  6. title="<?php echo esc_attr_x( 'Search for:', 'label' ) ?>" />
  7. <button class="btn btn-outline-light" type="submit"><i class="bi bi-search"></i></button>
  8. </div>
  9. </form>