A Control Freak and WP get_search_form()

wordpress, search form function, code modification

In the middle of setting up my sidebar for a new WordPress site. I noticed that I had to use CSS to get rid of the “Search for” label that comes with the input box.

A search on WP and the web lead me to a helpful site that tells me that this get_search_form() lives in wp-includes/general-template.php.

I decided to fix it from there, knowing I might have to fix it every time I do a WP update. This might not be the best solution for everyone, so think about it before you make your move.

Leave a Reply