Google Custom Search Plugin
Google Custom Search plugin allows you to add a search box to your site for a custom search provided by Google and shown in your own blog. The advantage of using this plugin is that the search results will be provided by Google and their great search engine. The results are drawn from only the websites you specify when setting your search engine up at Google. You will also be able to earn money from the ads Google shows in the search results.
What you need to do:
- Create a custom search engine at Google, entering your blog in the list of sites to search.
- After doing that, you will be able to manage your engine.
- In the section "Next steps", click on "Change the Basics".
- There grab your "Search engine unique ID" and save it for later. See image below.
- You can also change the look and feel of your search box and search results, matching your blog's design by going to "Look and Feel"
- Active the plugin in your blog admin
- Go to Settings > Google Search
- Paste your engine id in the text input provided.
The engine ID is the last in the Basic Information section:
google.load('search', '1'); google.setOnLoadCallback(function(){ new google.search.CustomSearchControl('...
How would a guy style something like that?
There is only a javascript file that gets included after the actual form. There is a <form> tag and inputs you can style. The javascript is not really needed for the form to work (although I don't know whether Google's terms force you to leave it there), so you can remove it and that would remove Google's branding. You can see in this same page that the form has been styled to match this site.
<!-- Google Custom Search Element -->
<div id="cse" style="width:100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">google.load('search', '1'); google.setOnLoadCallback(function(){ new google.search.CustomSearchControl('013959616596213686306:iusd9b2bolo').draw('cse'); }, true); </script>
http://luceconsulting.net/
Please take this to the forum where people can help you. This page is not read by many people.
Try http://blog.thecfguy.com/ to see problem. can you please let me know where I am doing wrong?