@php $enableSearchButton = Arr::get($config, 'enable_search_button', true); $enableDarkLightButton = Arr::get($config, 'enable_dark_light_switcher_button', true); $enableToggleSideMenuButton = (app()->has('themes.menu_sidebar') && app('themes.menu_sidebar')) && Arr::get($config, 'enable_toggle_side_menu_button', true); $enableNewsletterButton = Arr::get($config, 'enable_newsletter_button', true); $alignment = Arr::get($config, 'alignment', 'center'); @endphp @if ($enableDarkLightButton || $enableSearchButton || $enableToggleSideMenuButton || $enableNewsletterButton)
@include(Theme::getThemeNamespace('widgets.action-buttons.templates.partials.newsletter')) @if ($enableToggleSideMenuButton || $enableSearchButton || $enableDarkLightButton)
@if ($enableToggleSideMenuButton) @include(Theme::getThemeNamespace('widgets.action-buttons.templates.partials.toggle-sidebar-menu-button')) @endif @if ($enableSearchButton && is_plugin_active('blog')) @endif @if ($enableDarkLightButton) @endif
@endif
@endif