<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="submit" value="Go" /> </div> </form>