' . $separator . ''; $display = (bool) $display; echo '
    '; if ( ! is_front_page() && $display === TRUE ) { echo '
  1. '; echo $home; echo '' . $sep . '
  2. '; if ( is_category() || is_single() ) { $args = array( 'fields' => 'all' ); $categories = wp_get_post_categories( $post->ID, $args ); if ( count( $categories ) ) { if ( isset( $categories[0] ) ) { ?>
  3. name ?>
  4. '; } /** * WPML language menu */ public static function wpml_selector() { ?> ' . canvi_get_icon_svg( 'ui', 'search' ) . // phpcs:ignore WordPress.Security.EscapeOutput ''; } /** * Mobile toggle button * @return string */ public static function hamburger_menu_item() { return ''; } public static function cart_menu_item() { $items = '
  5. '; $items .= '' . WC()->cart->get_cart_contents_count() . '
  6. '; return $items; } /** * Mobile hamburger & search */ public static function toggle_search_menu( $menu_items ) { ?>