Add Google Search Php Code

Add Google Search Php Code
I am trying to add a Google Search Box to the header of my blog.
www.beneaththeblogger.com
I want it to be in the area which says
* Home
* About BTB
* Archives
* Business Ideas
* Contact
* Link To Us
* Privacy
* 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:
<center>
<form action=”http://www.google.com/cse” id=”cse-search-box” target=”_blank”>
<div>
<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” />
</div>
</form>
<script type=”text/javascript” src=”http://www.google.com/cse/brand?form=cse-search-box〈=en”></script>
</center>

I have attached the header.php file which is the file which needs modifying.

Leave a Reply

Your email address will not be published. Required fields are marked *