@php Theme::asset()->remove('language-css'); Theme::asset()->container('footer')->remove('language-public-js'); Theme::asset()->container('footer')->remove('simple-slider-owl-carousel-css'); Theme::asset()->container('footer')->remove('simple-slider-owl-carousel-js'); Theme::asset()->container('footer')->remove('simple-slider-css'); Theme::asset()->container('footer')->remove('simple-slider-js'); @endphp {!! Theme::header() !!} @php $headerStyle = theme_option('header_style') ?: ''; $page = Theme::get('page'); if ($page) { $headerStyle = $page->getMetaData('header_style', true) ?: $headerStyle; } $headerStyle = ($headerStyle && in_array($headerStyle, array_keys(get_layout_header_styles()))) ? $headerStyle : ''; @endphp {!! apply_filters(THEME_FRONT_BODY, null) !!}
{!! Theme::partial('preloader') !!}
@if (theme_option('mobile-header-message'))
{!! BaseHelper::clean(theme_option('mobile-header-message')) !!}
@endif
{!! Menu::renderMenuLocation('header-navigation', [ 'options' => [], 'theme' => true, ]) !!}
@if (theme_option('header_messages') && theme_option('header_messages') != '[]')
    @foreach(json_decode(theme_option('header_messages'), true) as $headerMessage) @if (count($headerMessage) == 4)
  • first) style="display: none" @endif> @if ($headerMessage[0]['value']) @endif @if ($headerMessage[1]['value']) {!! BaseHelper::clean($headerMessage[1]['value']) !!} @endif @if ($headerMessage[2]['value'] && $headerMessage[3]['value']) {!! BaseHelper::clean($headerMessage[3]['value']) !!} @endif
  • @endif @endforeach
@endif
@php $currencies = is_plugin_active('ecommerce') ? get_all_currencies() : []; @endphp
    @if (theme_option('hotline'))
  • {{ __('Need help? Call Us:') }}   {{ theme_option('hotline') }}
  • @endif @if (is_plugin_active('language')) {!! Theme::partial('language-switcher') !!} @endif @if (count($currencies) > 1)
  • {{ get_application_currency()->title }}
  • @endif
@if (theme_option('logo')) @endif @php $categoriesWith = array_merge(['slugable', 'activeChildren', 'activeChildren.slugable', 'metadata'], (is_plugin_active('language-advanced') ? ['activeChildren.translations'] : [])); $categories = !is_plugin_active('ecommerce') ? collect([]) : ProductCategoryHelper::getAllProductCategories() ->where('status', \Botble\Base\Enums\BaseStatusEnum::PUBLISHED) ->where('parent_id', 0) ->loadMissing($categoriesWith); @endphp
@if (is_plugin_active('ecommerce'))
@endif
@if (theme_option('logo')) @endif
@if (is_plugin_active('ecommerce')) @endif
@if (is_plugin_active('language'))
{{ __('Language') }}
@endif @if (count($currencies) > 1)
{{ __('Currency') }}
@endif @if (is_plugin_active('ecommerce')) @endif @if (theme_option('hotline')) @endif
@if (theme_option('social_links')) @endif