Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

google custome search code


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 17, 2009, 12:22 PM
saifullahraza
 
4 posts · Aug 2009
hi all

i need to know where to put the google search code in search.php using two codes with iframe

================================================== ================
<form method="get" class="searchform" action="<?php bloginfo('url'); ?>/">
<table class="searchform" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="searchfield">
<input type="text" class="text inputblur" value="<?php the_search_query(); ?>" name="s" />
</td>
<td class="searchbutton">
<input name="submit" value="Search" type="image" src="<?php echo get_bloginfo('template_directory'); ?>/images/magnifier2-gray.gif" style="display: block; border:none; padding: 0 0 0 5px; margin: 0;" />
</td>
</tr></table>
</form>
================================================== =======================

please answer me

thanks
  #2  
Old Sep 17, 2009, 01:11 PM
mlamkin
 
5 posts · Apr 2009
Just my opinion but you may want to paste that code into a new Text Widget instead of editing the search.php file.

Then you have choices of where to place the Google Custom Search and it can be used in any theme without having to edit each theme's search.php file.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Google Analytics code TheSurvivalMom Forum How-To 3 Apr 15, 2011 02:58 AM
Does it matter if Google Analytics code is in the footer? seventhyearfalling Web Hosting for WordPress 4 Dec 20, 2009 12:05 AM
Add Google Search to Search box? ldaily Header configuration & styling 0 Jul 21, 2009 09:12 AM
Google Analystic not shown even I add the code... yosh66 Plugins & Atahualpa 6 Jul 9, 2009 02:37 PM
Google Custom Search Plugin upscho Plugins & Atahualpa 0 Feb 27, 2009 03:51 AM


All times are GMT -6. The time now is 09:25 PM.


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