searchform.php 545 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * The Search Form
  4. *
  5. * Optional file that allows displaying a custom search form
  6. * when the get_search_form() template tag is used.
  7. *
  8. * @package WordPress
  9. * @subpackage Twenty Ten
  10. * @since 3.0.0
  11. */
  12. ?>
  13. <form id="searchform" name="searchform" method="get" action="<?php echo home_url(); ?>">
  14. <div>
  15. <label for="s"><?php _e( 'Search', 'twentyten' ); ?></label>
  16. <input type="text" id="s" name="s" />
  17. <input type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyten' ); ?>" />
  18. </div>
  19. </form>