Can I add Google Custom Search?
-
Hi: I’m wondering if I could add a google custom search engine to my primary blog so it could be used to search all of them? As far as I’m aware it doesn’t use javascript, but when I tried adding the code as a text widget the search box didn’t show.
Sorry if this is a dim question. I’m a pretty clueless guy so please be merciful :)
My best
-
-
-
forum search box results: https://en.forums.wordpress.com/search.php?q=google+custom+search
https://en.forums.wordpress.com/topic.php?id=13008Forum search box results indicate that the google custom searchbox is javascript and cannot be used on wordpress.com blogs. If you post a link to the code this can be checked.
-
gloomysundae —
You can’t use the keen Google search box on WordPress.com, but you can create a text link. You can see how I’ve done it on my blog:
My TyePad blog allows the Google search box:
As does my Blogger blog:
http://blog.bolesuniversity.com/
I mention those last two blogs as examples of what might one day be available here.
The custom Google searches are really great, as you know, because they allow people to search your comments as well as your posts. The standard WordPress.com search feature is limited in return results and does not include results from comments.
Let’s hope there will be a paid upgrade path here on WordPress.com soon so we might be able to add some of the more robust blogging functionality to our sites that other platforms already offer.
EDITED TO ADD:
Here’s my review of the Business Edition of Google Custom Search:
http://urbansemiotic.com/2007/07/18/google-custom-search-business-edition-review/
-
Hi sulz, boles and timethief. Thanks for all your help.
Yes, timethief, the coop link is the one. It says the watermarked version requires javascript, but doesn’t mention anything about the others.
Here’s the code *I hope I’ve posted this right*
[code]<!-- Google CSE Search Box Begins -->
<form id="searchbox_004898794124859706833:3sdv7o17cxs" action="http://www.google.com/cse">
<input type="hidden" name="cx" value="004898794124859706833:3sdv7o17cxs" />
<input type="hidden" name="cof" value="FORID:0" />
<input name="q" type="text" size="40" />
<input type="submit" name="sa" value="Search" />
<img src="http://www.google.com/coop/images/google_custom_search_smnar.gif" alt="Google Custom Search" />
</form>
<!-- Google CSE Search Box Ends -->[/code]If the worst comes to the worst I’ll add a text-link but, yes, it’s a very useful feature.
Thanks again
-
what hobbles you with that code is the form statement. Along with javascript, flash, iframes, and probably other stuff i can’t remember right now, forms are stripped.
-
Ok, Judyb12. Thanks very much for setting me straight. Looks like it’s a text link then.
- The topic ‘Can I add Google Custom Search?’ is closed to new replies.