WordPress/wp-content/themes/twentyeleven/searchform.php

11 lines
401 B
PHP

<?php
/**
* @package WordPress
* @subpackage Twenty Eleven
*/
?>
<form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
</form>