[wp-hackers] changing the default search parameters

Jonathan Dingman jdingman at gmail.com
Mon Feb 18 15:04:44 GMT 2008


I'm trying to customize a theme here and part of the customization I want to
do is to change the search parameters.

I would like to change it from domain.com/?s=oldtest to something like
domain.com/search?hl=en&q=newtest

so changing s= to q= and adding the search?hl=en to it.

Is that possible using the functions.php page in the theme?  I asked around
in #wordpress, but no one really knew and I didn't see anything on the
forums about it.

thanks!

Jonathan
http://www.ginside.com


More information about the wp-hackers mailing list