Hi Zed,
I’ve just updated Tempera to 1.4.2 and the search box set in Nav Menu (primary) is no more located in the Nav bar but above it. This search box was installed using this code provided on your forum and added in the function.php file :
add_filter(‘wp_nav_menu_items’,’add_search_box_to_nav_menu’, 10, 2);
function add_search_box_to_nav_menu( $items, $args ) {
if( $args->theme_location == ‘primary’ )
return $items.get_search_form();
return $items;
}
Could you please tell me how to get it back to its right place, i.e. at the right side of the Menu/Nav bar ?
Thanks !
Regards,
Theophil