add widget to your navigation's main drop-down menus

Hi all,

I am trying to run a plugin called “Widgetize Navigation Menu” in order to add a search button that drops down a search box from the main header menu. The plugin says to install as follows:

Go into theme’s file where that navigation is called (typically header.php): Replace this function: wp_nav_menu(array(… ‘theme_location’ => ‘MENU NAME’ ) );

With: if (function_exists(‘widgetize_my_dropdown_menus’)) { widgetize_my_dropdown_menus(‘MENU NAME’); } (Make sure to use your menu name in place of “MENU NAME”)

I have tired that, although the code is not the same in gridmarket and the outcome was no menu bar at all.

My question is : Is there a way to make this work with the gridmarket theme or is there a better way to get a nice drop down search box from the header menu.

here is the link to the plugin if you need it

https://wordpress.org/plugins/widgetize-navigation-menu/installation/

Thank you for your help

Meriam