' .
'
' .
'' .
apollo13framework_search_form( '', true ) .
'' .
'
' .
//only if plugin "SearchWP Live Ajax Search" is activated
( class_exists('SearchWP_Live_Search')? '' : '' ) .
'
';
}
return '';
}
}
if ( ! function_exists( 'apollo13framework_header_menu' ) ) {
/**
* Prints main menu usually located in header
*
* @param string $walker type of walker we should run this menu with
*/
function apollo13framework_header_menu( $walker = '' ) {
/* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu.
* The menu assigned to the primary position is the one used.
* If none is assigned, the menu with the lowest ID is used.
*/
global $apollo13framework_a13;
$menu_hover_effect = $apollo13framework_a13->get_option('menu_hover_effect');
$menu_classes = 'top-menu';
$menu_classes .= (strlen($menu_hover_effect) && $menu_hover_effect !== 'none') ? ' with-effect menu--'.$menu_hover_effect : '';
$menu_classes .= $apollo13framework_a13->get_option('submenu_open_icons') === 'on' ? ' opener-icons-on' : ' opener-icons-off';
$is_menu = has_nav_menu( 'header-menu' );
$menu_args = array(
'container' => false,
'link_before' => '