Reputation: 9262
Trying to use the new get_search_form() function on WordPress, I noticed I can't remove the textual label from the search submit button.
Any ideas?
Upvotes: 0
Views: 3903
Reputation: 31
the quick and easy is to create a new template named searchform.php
in your theme directory.
in that way get_search_form()
will load your form instead of the default one.
Upvotes: 3
Reputation: 9262
Got it partially working with:
$(document).ready(function(event){
$("input#searchsubmit").attr("value","");
Still, the value disappearance takes WAY too much time. How can I get rid of it in the first place?
Upvotes: 2