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

5 lines
232 B
PHP

<form method="get" id="searchform" action="<?php bloginfo('home'); ?>">
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>