Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

google custome search code


  #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 02:53 AM.


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