Install Blog search widget
This form will take you to Blogger where you can choose to install the search widget into your sidebar (or other element of your template). However, if you prefer to install the search widget manually, you should take the following steps:- Go to Template>Layout in your Blogger Dashboard.
- Create a new HTML/Javascript element in your sidebar.
- Insert the following code into the widget:
<p align="center"><form id="searchthis" action="/search" style="display:inline;" method="get"> <input id="search-box" name="q" size="25" type="text"/> <input id="search-btn" value="Search" type="submit"/> </form></p>
- Give your widget a title if you like (eg: "Search this Blog"), and click save. You should now have a fully functional search box in your blog's sidebar!
So, if you prefer something simpler than the Google blog search I wrote about before, this is surely the widget for you.
Technorati Tags: blogger | search | widget | search+this+blog | widget+installer



43 Comments:
This hack was previously written on Digital Technology (http://dt.yogtec.com). If you have copied the code from there please mention a backlink to the particular post from where you copied.
Hello Ankit,
I actually got the code from Beautiful Beta (as referenced in my post) who wrote about this last year, and states that he got the code from Phydeaux.
Your blog features some great tips and tricks, so if ever I reference your posts I will be sure to post a backlink and proper credit as with other posts I have written.
how can i make this work for a non-custom blogger hosted site
that is, how can i put this code on my indierockcafe.com website which does NOT use Blogpost or allow for Layout customization?
Thanks! Good site
Amanda,
How do you get your search results within your blog to only have the post titles appear like beautifulbeta?
Please Let me know, if you have any ideas. You can contact me at http://kontactr.com/user/bestwidgets
My site http://widgetsforfree.blogspot.com
Hello Jeeberman,
I remember coming across this hack a while back but can't remember how to implement it offhand.
When I find this again I will update with a link back to the resource for you.
Hope this will help!
Best wishes,
Amanda
Amanda,
thanks a lot for responding so soon.
Best luck on finding the resource.
thanks,
-John
Hey check out my site: http://widgetsforfree.blogspot.com
I got the hack to work!
Great!!!!! So happy to find the perfect search feature I could use. Thanks!!
I inserted the code and it only searched the "search" category on my blog.
Is there a way to right-align the search bar? I would like it flush with the right margin of my sidebar.
I took a guess that changing the part from "center" to "right" might do it, but no luck.
I was planning to add a search bar later, but this was so simple and easy. I checked it it works well and fits my blogs templat well.
Cheers mate :D
thanks mate...
Works for me!
Thanks for your widget!!
i have used it on www.sirigandha.com
WOW! Thanks a lot, I really need it. I will use it in my blog after changing its design on November 1st :)
Brilliant thanks
Thanks.
It was of great help
Perfect...exactly what I was looking for (and I've tried a whole bunch I didn't like before this one!). Cheers!
Thank you!
that is exactly what I was looking for
Thnaks from Brazil my friend
Wow..Thanks for u widget..:D
Simply great!
I was missing that tool, and now.. Here it is!
I love this search widget.. this one is grt.. Searches within the site.. and easy.. .thanks!!
i used the same for my site.. http://freehdwallpapers.co.cc
Muchos gracias! Really came in handy for me :)
Thanks for it but it's appearing on the left side of my blog header. You can check it How to put in on the extreme right?
Please tell.
thanks a lot!!
thanks !!
http://www.mediafirefilms.com/
as the guy above said.. how can we align this search bar on the right?
Thanks!!
Thanks for share golden words.
your widget is greates ever..............
IF U NEED TO END MONEY BY BLOGGING AND BECOMING A CO-AUTHOR FOR A SITE PLEASE MAIL ME AT SASI.BVB@GMAIL.COM]
THIS IS NOT A SPAM YAAR
Thanks
Good Post Keep it up
Very Nice Widget. I installed this widget in my blog foote column and header.You can visit my blog
http://freecomputercourses.blogspot.com
this is very helpfull...
thanks alot..
search function dosent work on http://www.rowallpapers.com for older posts, anyone know why?
Cool,
it works!!
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.
Hope this works
You can get better Search form for blogger from: http://www.rajeshpatel.net/how-to-add-search-form-to-blogger/
Let me try first.!
Post a Comment