Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

How to: Replace search bar with google search bar

Prev Previous Post   Next Post Next
Old Oct 14, 2010, 06:51 AM
71 posts · Oct 2010
How to: Replace search bar with google search bar

I am trying to replace the default search bar with a googlel search bar. I was give this code:

<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', {language : 'en'});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('009450143332839 663346:gxn25vyt8tnd');
customSearchControl.setResultSetSize(google.search .Search.FILTERED_CSE_RESULTSET);
}, true);

but I don't know where to put it. I tried adding it to the CSS/HTML inserts in ATO, but nothing changed. Can anyone help me?


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Delete Comments Tab; Move Search Bar; Move RSS icon to Menu Page bar frugalmommytoday Header configuration & styling 1 Oct 14, 2010 07:50 AM
Is there a way to add a search bar? jaemart Sidebars & Widgets 1 Jul 1, 2010 06:09 AM
How do you add the search bar into the top menu bar? brownkidd Page & Category Menu Bars 3 Mar 1, 2010 06:40 AM
[SOLVED] google search bar in header area phryedrice Header configuration & styling 1 Nov 5, 2009 11:10 PM
Add Google Search to Search box? ldaily Header configuration & styling 0 Jul 21, 2009 09:12 AM

All times are GMT -6. The time now is 08:30 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.