@php $menu_nodes->loadMissing('metadata'); @endphp @foreach ($menu_nodes as $key => $row)
  • has_child || $row->css_class || $row->active) class="@if ($row->has_child) dropdown @endif @if ($row->css_class) {{ $row->css_class }} @endif @if ($row->active) active @endif" @endif> target !== '_self') target="{{ $row->target }}" @endif @if ($row->has_child) data-toggle="dropdown" @endif> @if ($iconImage = $row->getMetadata('icon_image', true)) icon image @elseif ($row->icon_font) @endif {{ $row->title }} @if ($row->has_child)
    {!! Menu::generateMenu([ 'menu' => $menu, 'menu_nodes' => $row->child, 'view' => 'sub-menu', ]) !!}
    @endif
  • @endforeach
  • @if (is_plugin_active('language'))
    {!! Theme::partial('language-switcher') !!}
    @endif
  • @if (is_plugin_active('ecommerce')) @php $currencies = get_all_currencies(); @endphp @if (count($currencies) > 1)
      @foreach ($currencies as $currency)
    • id) class="active" @endif>{{ $currency->symbol }} - {{ $currency->title }}
    • @endforeach
    @endif @endif