where should i place google custom search codes...? with snippet code.. ================================================= File searchform.php ================================================= <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>
Basically you take that HTML/PHP code and paste it in the file where you want it to show. Lets say the file footer.php contains the bottom of the site and you want to put the search button at the bottom of the site. You will open up the footer.php file and paste that code in there inside the body tags.