Is it possible to make the searchform work by hitting enter and not by using the submit button? I use the searchbox this way in my website (WordPress) and like the ZP part of the site to look identical.
Of course... Never tried that. I looked at the printsearchform function but can't see a way to add a text into the search input field, a text like 'search here'.
I hid the submit button with css, but somehow I didn't manage to do the same with the toggle button. Also when I added a search term, and after that wanted to search for something else, the input field shows an AND and searches for both words. In the options page I chose for 'space' and not for OR or AND.
You need that icon button to set the search free again. The search engine always searches within the results of the previous search otherwise. The setting for space or AND/OR has nothing to do with this.
I escaped some lines in template-functions.php and now I have what I wanted
The search within search sounds good, and perhaps I will use it someday. But for my own site and also probably for a lot of others, it would be nice to have an option on the admin search page which kind of search someone wants.
Comments
I looked at the printsearchform function but can't see a way to add a text into the search input field, a text like 'search here'.
example on the left
And this can't be disabled in any way? I really like a search bar as simple as can be. Too many options can be confusing for visitors imho.
Btw, this search within results was added on several user requests.
The search within search sounds good, and perhaps I will use it someday. But for my own site and also probably for a lot of others, it would be nice to have an option on the admin search page which kind of search someone wants.