August 12, 2011

How To Add Search Box to Search in Your Blogsite(Website)


Hi my dear visitors. today im gonna show you how to a search box to blogger, I my self find out that Blogger Search engine is not good . Its result is not accuracy . I search for a term but it give me some posts that is not related to what I search . so here is the custom search box to blogger. i hope you really like my bpost. thank you for visitng my blog! we will meet again in next post.!












1.Login to your blogger account.Go Design--> Add a Gadget --> Select “HTML/JavaScript

2.Copy below code and paste it.Click save and refresh your site

<p align="left">
<form id="searchthis" action="YOUR BLOG URL/search" style="display:inline;" method="get">
<strong>NAME OF YOUR BLOG<br/></strong>
<input id="b-query" maxlength="255" name="q" size="20" type="text"/>
<input id="b-searchbtn" value="Search" type="submit"/>
</form></p>



Note: Remember to replace "YOUR BLOG URL" and "NAME OF YOUR BLOG" with your
details.
If you want to change the size of your search box than just change the value 20 to 35(any
value you like to get a bigger search box.
You can also change the “Search” button to say, “Hit” or “Go” or "Enter" or "Read more",
by changing the Value in the above html code.

3.You can see search box like below one.


Tips n Tricks



No comments:

Post a Comment