searchform.php 767 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Ixion customizes the search form to add a div for easier CSS manipulation.
  4. *
  5. * @package Ixion
  6. */
  7. ?>
  8. <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
  9. <label>
  10. <span class="screen-reader-text"><?php echo esc_html_x( 'Search for:', 'label', 'ixion' ) ?></span>
  11. <input type="search" class="search-field"
  12. placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'ixion' ) ?>"
  13. value="<?php echo get_search_query() ?>" name="s"
  14. title="<?php echo esc_attr_x( 'Search for:', 'label', 'ixion' ) ?>" />
  15. <span class="search-form-icon"></span>
  16. </label>
  17. <input type="submit" class="search-submit"
  18. value="<?php echo esc_attr_x( 'Search', 'submit button', 'ixion' ) ?>" />
  19. </form>