<form id="searchform" method="get" action="http://www.url.com">
<div>
<input name="s" id="s" size="15" type="text">
<input value="Search" type="submit">
</div>
</form>
-- I want to change the input value, but can't find this anywhere.
Help! :)
<form id="searchform" method="get" action="http://www.url.com">
<div>
<input name="s" id="s" size="15" type="text">
<input value="Search" type="submit">
</div>
</form>
-- I want to change the input value, but can't find this anywhere.
Help! :)
knowing where the search menu is helps...
1) in the masthead = file = header.php
2) in a sidebar = file = sidebar.php ( if you have such a file )
where do you "see" your search menu?
The search form is in the side bar, but all I see in sidebar.php is the following:
<?php get_search_form(); ?>
That search form comes straight out of the WordPress core, however, if your theme has a searchform.php file, then the contents of that file will override it.
So create a searchform.php file in your theme directory and put your modified form into that, and voila.
Thanks, Otto. I'll give that a try...
exactly what i needed! thank you.
You must log in to post.