@foreach ($menu_nodes as $key => $row)
  • target !== '_self') target="{{ $row->target }}" @endif> @if ($row->icon_font) @endif {{ $row->title }} @if ($row->has_child) {!! Menu::generateMenu([ 'menu' => $menu, 'menu_nodes' => $row->child, 'view' => 'menu', 'options' => [ 'class' => 'sub-menu font-small', ] ]) !!} @endif
  • @endforeach @if (strpos($options, 'is-main-menu') !== false) @if (theme_option('allow_account_login', '') == 'yes')
  • @if (!auth('member')->check()) {{ __('Login') }} @else {{ __('Account') }}
    {{ __('Your Dashboard') }} {{ __('Edit profile') }} {{ __('Change password') }} @if(is_plugin_active('favorite-posts')) {{ __('Your Favorites') }} @endif
    {{ __('Logout') }}
    @csrf
    @endif
  • @endif @if (is_plugin_active('language'))
  • @php $supportedLocales = Language::getSupportedLocales(); @endphp @if ($supportedLocales && count($supportedLocales) > 1) @php $languageDisplay = setting('language_display', 'all'); @endphp
    @foreach ($supportedLocales as $localeCode => $properties) @if ($localeCode != Language::getCurrentLocale()) @if (($languageDisplay == 'all' || $languageDisplay == 'flag')){!! language_flag($properties['lang_flag'], $properties['lang_name']) !!}@endif @if (($languageDisplay == 'all' || $languageDisplay == 'name')){{ $properties['lang_name'] }}@endif @endif @endforeach
    @endif
  • @endif @if (!empty(theme_option('social_links')))
  • @foreach (json_decode(theme_option('social_links'), true) as $socialLink)
    @endforeach
  • @endif @endif