#2141
Vinod Dalvi
Keymaster
  • Topics: 0
  • Replies: 213

It was your site specific issue so i resolved the issue on your main site http://aptsonictent.wp60.com/ by editing the plugin code in the file add-search-to-menu/public/class-astm-public.php as following.

Before:


		/**
		 * Displays search form in the navigation bar in the front end of site.
		 */
		function search_menu_item( $items, $args ) {
			if ( isset( $this->opt['add_search_to_menu_locations'] ) && isset( $this->opt['add_search_to_menu_locations'][ $args->theme_location ] ) ) {

After:


		/**
		 * Displays search form in the navigation bar in the front end of site.
		 */
		function search_menu_item( $items, $args ) {

			if ( isset( $this->opt['add_search_to_menu_locations'] ) && ( isset( $this->opt['add_search_to_menu_locations'][ $args->theme_location ] ) || empty( $args->theme_location ) ) ) {