Hi Tom, I would like to put an adsense custom search box inside the sticky menu instead of the built in search function. I currently use a html text widget to to this elsewhere on my site.
I would like the search box to appear somewhere in the middle of the nav bar between the menu items and the logo, alternatively just right next to the logo. Could this be achieved in a relatively easy way?
You’re probably better off disabling the navigation search and hooking your HTML into the navigation like this:
add_action( 'generate_inside_navigation','generate_insert_into_navigation' );
function generate_insert_into_navigation()
{ ?>
Put your HTML or whatever in here
<?php }
You’ll have to put your search code in a div with a class so you can target it with CSS to position it, but this should get you started 🙂