Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*google custom search box*/
- //remove thesis navigation
- remove_action('thesis_hook_after_header', 'thesis_nav_menu');
- add_action('thesis_hook_after_header', 'custom_nav');
- /*custom Nav*/
- function custom_nav() {
- echo '<div id="nav">';
- echo '<div id="nav_container">';
- thesis_nav_menu();
- echo '<div class="searchs">';
- ?>
- <form action="http://doggybytes.ca/search-results-3/" id="cse-search-box">
- <div>
- <input type="hidden" name="cx" value="003640320880537695101:duzzwtzajra" />
- <input type="hidden" name="cof" value="FORID:9" />
- <input type="hidden" name="ie" value="UTF-8" />
- <input type="text" name="q" size="31" />
- <input type="submit" name="sa" value="Search" />
- </div>
- </form>
- <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>
- <?php
- echo '</div>';
- echo '</div>';
- echo '</div>';
- }
Add Comment
Please, Sign In to add comment