%3$s'; if(get_theme_mod('after_menu_btn_new_tabl',false)==true) { $bizhunt_target="_blank";} else { $bizhunt_target="_self"; } if((get_theme_mod('after_menu_btn_txt')!='') && (get_theme_mod('after_menu_multiple_option')=='menu_btn')): $bizhunt_shop_button .= '
  • '.get_theme_mod('after_menu_btn_txt').''; endif; if((get_theme_mod('after_menu_html')!='') && (get_theme_mod('after_menu_multiple_option')=='html')): $bizhunt_shop_button .= '
  • '.get_theme_mod('after_menu_html'); endif; if ( class_exists( 'WooCommerce' ) ) { if((get_theme_mod('search_btn_enable',false)==true ) || (get_theme_mod('cart_btn_enable',false)==true )) { if(get_theme_mod('search_btn_enable',false)==true) { $bizhunt_shop_button .= '
  • '; $bizhunt_shop_button .= '
    '; } else { $bizhunt_shop_button .= '
  • '; } } if(get_theme_mod('cart_btn_enable',false)==true) { global $woocommerce; $bizhunt_cart_link = function_exists( 'wc_get_cart_url' ) ? wc_get_cart_url() : $woocommerce->cart->get_cart_url(); $bizhunt_shop_button .= ''; if ($woocommerce->cart->cart_contents_count == 0) { $bizhunt_shop_button .= ''; } else { $bizhunt_shop_button .= ''; } $bizhunt_shop_button .= ''; $bizhunt_shop_button .= ''.sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count, 'bizhunt'), $woocommerce->cart->cart_contents_count).''; } } else { if(get_theme_mod('search_btn_enable',false)==true) { $bizhunt_shop_button .= '
  • '; $bizhunt_shop_button .= '
    '; } } $bizhunt_shop_button .= ''; $bizhunt_menu_class=''; wp_nav_menu( array ( 'theme_location'=> 'honeypress-primary', 'menu_class' => 'nav navbar-nav mr-auto '.$bizhunt_menu_class.'', 'items_wrap' => $bizhunt_shop_button, 'fallback_cb' => 'honeypress_fallback_page_menu', 'walker' => new Honeypress_nav_walker() )); ?>