<?php
  /**
   * Template: search form
   * =====================
   * Displays the search form
   * be able to filter by post type
   */
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url(home_url('/')); ?>">
  <label for="search-input" title="<?php echo __('Seite durchsuchen', 'sandbox'); ?>"><?php echo __('Suche', 'sandbox'); ?></label>
  <div class="inner">
    <input type="search" id="search-input" class="search-field" placeholder="<?php echo esc_attr(__('Suchbegriff eingeben', 'sandbox')), esc_attr(' &hellip;'); ?>" value="<?php echo get_search_query(); ?>" name="s" />
    <button type="submit" class="search-submit"><span class="hide-block"><?php echo esc_attr_x( 'Search', 'submit button', 'sandbox'); ?></span></button>
  </div>
</form>
