When it comes to crawling the internet or a website nothing can surely beat Google's searching technique. Blogger Templates that are found in various designs and colours often have custom search boxes in it, which I am sure you might have observed are incapable of displaying the relevant results. These search boxes by default are limited to their ability of searching each and every word of your blog. The best solution is to use Google Custom Search Engines (CSE) that are extremely efficient in digging out the most important data from your blog and displays it to the visitor. This increases the number of pageviews and page impressions of your blog because the reader is kept engaged in reading more and more. Further you can easily integrate your Google AdSense Ads to your Google Custom Search box, which again increases your blog revenue for every click made on the search results. An Example of such search engine can be found below every post of this (MBT) blog. So lets create and install a beautiful Google Search box for your blog.
How To Create a Custom Google Search Engine?
- Go To Google CSE
- Hit the create custom search engine button
- Fill the form as shown in the screenshot below,

4. The Click the next button and choose the Design for your search engine. You can click the "Customize" button to edit the colours and look.

5. Hit the next button and then click the "Look and feel" link on the next page as shown below,

It will bring you a page where you will find three layout options i.e Full -width, Compact and Two Column as shown below,

- If you wish to add the search box just below posts as I have done on my blog then choose Full-width
- Or if you wish to display the box and results on the sidebar then choose compact
- Else if you wish to add your search box to your sidebar and display the search results above the post title then choose Two Column
6. Finally hit "save & get code" button and jump to the next part of our tutorial.
Add Google Custom Search Engine To Blog Posts
To add the search engine just below your blog posts as we have done on MBT then please follow the steps below,

- Go To Blogger > Design > Edit HTML
- Backup your template
- Click the Expand Widgets Templates Box
- Search for <data:post.body>
- Just below it paste your Blog Post Search Engine Code (Full-width)
- Save and you are done!
- View your blog to see it appearing just below posts.
Add Google Custom Search Engine To Blog Sidebar
- Go To Blogger > Design
- Choose a HTML/ JavaScript Widget
- Paste your Sidebar Search Engine Code (Compact or Two Column) in it
- Save and you are done!
- View your blog to see it working just fine
Changing your default search box to Google Custom Search Engine Box is an important step that you must take as early as possible. You will see the difference in your analytics the next week. In the next post as shared below you will learn to integrate your AdSense Ads to your Custom Search engine and increase your Adsense earnings.
Hope you liked it! :)

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »









32 comments:
great work mbt, now we can customize google search button also.
i thing it is more powerful than default search engine.
and eagerly waiting for a post on avatars also.
Sorry mohd_ for disturbing you,problem solved for avatars,now you have no need to write an post on it..
Regards
@karan
No problem buddy. But I still need to post one on it as I have not shared it as yet and I have some beautiful designs for it which I hope you guys will like a lot. :>
for code CSS we can make own (custome)
we just take the code for action and others...hihi
like that lah...hohoho (confused explained) LoL
Is this legal, the customisation of the button? Also I'd like to ask you what you heard about the blogger bar? We should keep it on our sites? It is enough just to have a link to blogger?
@beben
You made me confused though. :p Didn't get your question?
@Lucky
It surely is legal because the customization is provided by Google itself.
For the blogger thing, I have heard that they have redeveloped it and given it a new look with web search form but I don't know if they can impose it as a must on all bloggers to display it at the top. Doesn't make sense.
@Lucky
Forgot about the link. I think we should add a "Powered by Blogger" Link in our blogs at least
hmm .. What can I edit it again?
so .. what's the difference from google code and the code manually? *to quality SEO*
Hello,
What if we need the search engine to appear only in post pages? With your method explained above it is appearing on homepage too under all posts.
Thanks....
@Mari
The above custom search engine was made available by Google to web masters so that Google could better index the website data as well as help the website visitors to get the most relevant search data. It is indeed a SEO must.
@Hetal
Oh I am sorry I forgot to mention that. to show the search engine only on post pages, simply enclose the search engine code between these lines,
<b:if cond='data:blog.pageType == "item"'>
PASTE SEARCH ENGINE CODE GOES HERE
</b:if>
@Mohmd, is there a way, I can add Google costume search box at the siderbar (compact) and also to the blog posts?
@Felix
You can use the same code as many times as you want. :>
@Mohmd, thanx 4ur prompt response, so that means after I create the GSE, obtain the code (compact) then implement it. I can re-modify the same GSE, obtain the code (full-width) and implement in post pages but in the same blog: OR should I create another different GSE for one at the sidebar and another at the post, meaning two GSEs but placed in different positions to track where searches are mostly done. I have currently implemented the (compact) in my blog but my my allies say they'll prefer both (compact, full-width) for easier searches, how do I go about this when using a single GSE??
@Felix
Forgive me for the late reply pal.
When you change the visibility mode of the search engine then of course coding will change. Yes you are absolutely right, You will have to create a separate CSE. This will better help you in monitoring the CTR. Hope this was clear. :>
web design perth
CSE changes to layout options - Thursday, June 16, 2011 - have resulted in the inability to carry out a date range search by adding, for example, '&as_qdr=d5' to search string. Do you know how I would do the equivalent search in the new environment?
If you are using your Taz template. How do you place that in your search section you provided?
Hi buddy...i want to place search box just under the header...just like yours....how can i do that...plz help me...thanx...
Adding a custom search engine in your website is a good idea. You should really consider it.
dentist seo
Mohd.
Excellent post ,i was waiting for this post since many months but surprised how I missed it ...nonetheless good i asked u the other day otherwise i would have wasted more time looking here and there....ur way of explaining things are simply GREAT !!!
HATS OFF !!
THANKS THANKS THANKS ....
:)
This article is novel, I really love it. I also have some ideas written in my article, you can have a look if you have the interest. We can also discuss different topics.
Archie Manning Jersey
Deuce Mcallister Jersey
Jabari Greer Jersey
Jonathan Vilma Jersey
Malcolm Jenkins Jersey
Morten Andersen Jersey
Rickey Jackson Jersey
Roman harper Jersey
Sedrick Ellis Jersey
Bobby Hebert Jersey
I never know Google CSE can limit the search to a particular website. I always thought it was just an extension of Google. Now that you shared this trick, I'm seeing a lot of possibilities.
- seo outsourcing services enthusiast
How To Add Search Box Manually in Blogger
Click the Following Link for more useful articles on blogging that you really needed : http://premiumadmin.blogspot.com/2011/12/google-navigation-bar-at-top-of-your.html
very nice informative article
the points disscussed are quite important to be considered
Website Design Perth
i have two cse's and I would like a drop down menu beneath the search bar that you can select which cse to use. Do you know how to do that. Specifically, I'm looking for code. Thanks.
nice post with good information.. website design perth
Small bits of content which are explained in details, helps me understand the topic, thank you!
Search Engine Optimization
I chose 2 columes which I wanted the result to be show above the post, not in the top of the post, actually above it, where do I put the code it offered me?
div id="cse" style="width:100%;"></div "
i want the search result to be displayed like yours. please give detail procedure.
thank you very much great tutorial
Best112 free windows softwares
Hey,
i need help...ive place code in html wigets but it doesnt seem to search any blogs.
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.
Regards,
Mohammad