/* Remove nav menu */
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
/* Add nav menu under header */
add_action('thesis_hook_before_content_box', 'thesis_nav_menu');
/* Add accessible search form to nav menu */
/* You'll need CSS to style this, hide label off-screen etc */
function add_search_to_menu() { ?>
<li class="tab navsearch"><form action="http://garyjones.co.uk/" method="get"><p><label for="s">Search</label></p></form></li>
<?php }
add_action('thesis_hook_last_nav_item', 'add_search_to_menu');
Would this actually change the form action? A.K.A. could I take advantage of Google search alongside the nav. menu with this? That would actually make for a pretty good tutorial. I am sure many people have searched for that. How to change the default search to google search. I tried doing it before but gave up after a short time….I *think* thesis uses WordPresses search because there is no search form file in thesis that I see.
You can drop anything you want into a new menu item – in this case, I just add a slightly more accessible version of the thesis_search_form().