 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
May 7, 2018 at 4:44 pm #952751if i put this icon into the menu and i start a search in my site in i press enter, i will see the result page but if i click again on the icon this start a new search with no input and i will see an empty result page. the bug is on the icon that after a search if i click again on it start a new search instead show the popup input box. enfold version 4.3.1 May 8, 2018 at 9:31 pm #953554Hey weasyweb2015, Can you show us your web site please so we can try understand and debug? Best regards, 
 BasilisMay 9, 2018 at 10:06 am #953781sorry. with the latest version 4.3.1 if i use this code to put the search icon on the secondary menù i get this bug add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items; if ((is_object($args) && $args->theme_location == 'avia2') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); get_search_form(); $form = htmlspecialchars(ob_get_clean()) ; $items .= '<li id="menu-item-search2" class="noMobile menu-item menu-item-search-dropdown"> a href="?s=" rel="nofollow"><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span> '; } return $items; }can you fix this code please? 
 another problem is that the search icon isn’t removed from the primary menù. i get twice.- 
		This reply was modified 7 years, 5 months ago by weasyweb2015. 
 May 9, 2018 at 4:03 pm #954012this is the site May 9, 2018 at 4:42 pm #954040i solved the problem replaced a href=”?s=” with a href=”#” now seems to be working - 
		This reply was modified 7 years, 5 months ago by weasyweb2015. 
 May 10, 2018 at 7:25 am #954401
- 
		This reply was modified 7 years, 5 months ago by 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
