It’s possible to implement an option to use the current WordPress Search or Google Search? An switch button on admin panel…
Note for those “anxious” to switch to Google search, WPMU has a plugin for this, although not free (cheap vs spending an hour trying to hack your site ….):
https://premium.wpmudev.org/project/custom-google-search/
No idea if it works out of the box with Newspaper menu search bar, but does work as a widget.
Hi,
You could use something like this: http://screencast.com/t/iSUeeUwbzH8M
Here is the code for the form: http://pastebin.com/k6Ka33Nt
Note that I only tested this for the header menu search.
Thanks
Okay, I just realized we are paying for Google Site Search on our main portal, where I’m doing the blog with Newspaper, and occurs to me it “would” be great idea to use the Google Site Search paid edition from the top menu to replace the WP search.
Seems like one could hack the top section for that.
Will look into it later on and update if I have examples 🙂
-
This reply was modified 11 years by
simchris.
I’m interested in custom search too.
Btw, is there possibility to use search not only in sidebar or menu? I’d like to place the search form in header, but i don’t need a top-menu
Hi,
It’s possible, check how the search was added into menu: http://screencast.com/t/iOz0FztA
Add the search like this to the header, like this: http://screencast.com/t/joLMLwA8EdT
You will get this result: http://screencast.com/t/7xXL2r3L
Also you will need to customize it yourself as you need custom work for this, unfortunately we cannot offer custom work as we work hard on the development, updates, fixes and support. You can always get a freelancer from sites like: http://studio.envato.com/ if you don’t know how to do it yourself.
Thnaks
Added it to my header-style-1 file as you wrote, but it’s nothing in this place on the site and it’s nothing in code as well(
Anyway, thank you, maybe i’ll wait for Google search or hire someone to do it
-
This reply was modified 11 years by
paulberrow.
Anecdotal:
I will be trying to hook my blog up to Google Site Search (paid version), the simple way
1) remove search from menu bar
2) custom widget using code from Google, top of sidebar
If anybody wants to try that the “easy way,” there is help in the forum on “hiding” the search box from the main menu, and then you could simply create a text box widget, and drop in the code from Google Site Search.
QED, as my dad used to say 🙂