Wordpress/wp-content/themes/default/searchform.php

13 lines
358 B
PHP

<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
?>
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>