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

5 lines
252 B
PHP

<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" name="Submit" value="Go!" />
</div>
</form>