Add Google Search Php Code
I am trying to add a Google Search Box to the header of my blog.
I want it to be in the area which says
* About BTB
* Business Ideas
* Link To Us
* Website Promotion
Across the top right after Website Promotion. Easy right? Just copy and paste the Search Box Code there. Wrong. The whole bar across is determined by this code:
<?php $navigation = get_post_meta($post->ID, ‘squeeze_nav_value’, true); ?>
If I paste the box after the code it shows up too far down the page.
If I paste the box into the code I get errors because I do not know how to write php code.
I need someone to rewrite that little bit of code to allow my search
box to show up right after Website Promotion at the top of the blog.
Here is the search box code:
<form action=”http://www.google.com/cse” id=”cse-search-box” target=”_blank”>
<input type=”hidden” name=”cx” value=”partner-pub-2664401293138054:dd5e39-si4a” />
<input type=”hidden” name=”ie” value=”ISO-8859-1″ />
<input type=”text” name=”q” size=”25″ />
<input type=”submit” name=”sa” value=”Search” />
I have attached the header.php file which is the file which needs modifying.