'edit_theme_options', 'option_type' => 'option', 'option_name' => 'anzu', )); /*-----------------------------------------------------------------------------------*/ /* *. General /*-----------------------------------------------------------------------------------*/ Kirki::add_panel( 'general', array( 'priority' => 10, 'title' => esc_html__( 'General Options', 'anzu' ), 'description' => esc_html__( 'Contains sections for all Anzu controls.', 'anzu' ), ) ); Kirki::add_section( 'general_buttons', array( 'title' => esc_html__( 'Buttons', 'anzu' ), 'panel' => 'general', 'priority' => 160, ) ); Kirki::add_section( 'general_forms', array( 'title' => esc_html__( 'Forms - Input and Textarea', 'anzu' ), 'panel' => 'general', 'priority' => 160, ) ); /* new \Kirki\Field\Select( [ 'settings' => 'anzu_general_buttons_style', 'label' => esc_html__( 'Style', 'anzu' ), 'section' => 'general_buttons', 'default' => 'contained', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'contained' => esc_html__( 'Contained', 'anzu' ), 'outlined' => esc_html__( 'Outlined', 'anzu' ), ], ] ); */ new \Kirki\Field\Slider( [ 'settings' => 'anzu_general_buttons_border_radius', 'label' => esc_html__( 'Border Radius', 'anzu' ), 'section' => 'general_buttons', 'default' => '3', 'choices' => [ 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px', ], 'output' => array( array( 'element' => '.btn', 'property' => 'border-radius', 'units' => 'px', ), ), ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_general_buttons_padding', 'label' => esc_html__( 'Padding', 'anzu' ), 'section' => 'general_buttons', 'default' => [ 'padding-top' => '6px', 'padding-bottom' => '6px', 'padding-left' => '12px', 'padding-right' => '12px', ], 'output' => [ [ 'element' => ' .btn:not(.anzu-read-more-link)', ], ], ] ); new \Kirki\Field\Slider( [ 'settings' => 'anzu_general_forms_border_radius', 'label' => esc_html__( 'Border Radius', 'anzu' ), 'section' => 'general_forms', 'default' => '3', 'choices' => [ 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px', ], 'output' => array( array( 'element' => '.form-control', 'property' => 'border-radius', 'units' => 'px', ), ), ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_general_forms_padding', 'label' => esc_html__( 'Padding', 'anzu' ), 'section' => 'general_forms', 'default' => [ 'padding-top' => '6px', 'padding-bottom' => '6px', 'padding-left' => '12px', 'padding-right' => '12px', ], 'output' => [ [ 'element' => '.form-control', ], ], ] ); /*-----------------------------------------------------------------------------------*/ /* *. Header /*-----------------------------------------------------------------------------------*/ Kirki::add_panel( 'header', array( 'priority' => 10, 'title' => esc_html__( 'Header', 'anzu' ), ) ); Kirki::add_section( 'header_general_section', array( 'title' => esc_html__( 'General', 'anzu' ), 'panel' => 'header', 'priority' => 160, ) ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_header_general_cart', 'label' => esc_html__( 'Cart', 'anzu' ), 'section' => 'header_general_section', 'default' => true, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_header_general_search', 'label' => esc_html__( 'Search', 'anzu' ), 'section' => 'header_general_section', 'default' => true, ] ); Kirki::add_section( 'header_branding_section', array( 'title' => esc_html__( 'Branding', 'anzu' ), 'panel' => 'header', 'priority' => 160, ) ); new \Kirki\Field\Radio_Image( [ 'settings' => 'anzu_brand_display', 'label' => esc_html__( 'Display', 'anzu' ), 'section' => 'header_branding_section', 'default' => 'anzu-brand--logo-title-tagline-right', 'choices' => [ 'anzu-brand--just-logo' => ANZU_THEME_URI . '/inc/customizer/assets/img/just-logo.png', 'anzu-brand--logo-title-tagline-right' => ANZU_THEME_URI . '/inc/customizer/assets/img/logo-title-tagline-right.png', 'anzu-brand--logo-title-tagline-left' => ANZU_THEME_URI . '/inc/customizer/assets/img/logo-title-tagline-left.png', 'anzu-brand--logo-title-tagline-down' => ANZU_THEME_URI . '/inc/customizer/assets/img/logo-title-tagline-down.png', ], ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_logo_switch', 'label' => esc_html__( 'Logo', 'anzu' ), 'section' => 'header_branding_section', 'default' => true, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_site_title_switch', 'label' => esc_html__( 'Site Title', 'anzu' ), 'section' => 'header_branding_section', 'default' => true, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_tagline_switch', 'label' => esc_html__( 'Tagline', 'anzu' ), 'section' => 'header_branding_section', 'default' => false, ] ); Kirki::add_section( 'header_light_logo_section', array( 'title' => esc_html__( 'Logo', 'anzu' ), 'panel' => 'header', 'priority' => 160, ) ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_retina_light_logo_switch', 'label' => esc_html__( 'Different Logo For Retina Devices?', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => false, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_mobile_light_logo_switch', 'label' => esc_html__( 'Different Logo For Mobile Devices?', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => false, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_transparent_light_logo_switch', 'label' => esc_html__( 'Different Logo for Transparent Header?', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => false, ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_light_logo', 'label' => esc_html__( 'Logo', 'anzu' ), 'description' => esc_html__( 'Select logo.', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => '', ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_retina_light_logo', 'label' => esc_html__( 'Retina Logo', 'anzu' ), 'description' => esc_html__( 'Select a retina logo twice the normal logo size.', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_retina_light_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_mobile_light_logo', 'label' => esc_html__( 'Logo For Mobile Devices', 'anzu' ), 'description' => esc_html__( 'Select logo.', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_mobile_light_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_retina_mobile_light_logo', 'label' => esc_html__( 'Retina Logo For Mobile Devices', 'anzu' ), 'description' => esc_html__( 'Select a retina logo twice the normal logo size.', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_retina_light_logo_switch', 'operator' => '==', 'value' => true, ], [ 'setting' => 'anzu_mobile_light_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_transparent_light_logo', 'label' => esc_html__( 'Logo For Transparent Header', 'anzu' ), 'description' => esc_html__( 'Select logo.', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_transparent_light_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_retina_transparent_light_logo', 'label' => esc_html__( 'Retina Logo For Transparent Header', 'anzu' ), 'description' => esc_html__( 'Select a retina logo twice the normal logo size.', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_retina_light_logo_switch', 'operator' => '==', 'value' => true, ], [ 'setting' => 'anzu_transparent_light_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); /* new \Kirki\Field\Image( [ 'settings' => 'anzu_sticky_light_logo', 'label' => esc_html__( 'Sticky Header Logo', 'anzu' ), 'description' => esc_html__( 'Select logo.', 'anzu' ), 'section' => 'header_light_logo_section', 'default' => '', ] ); */ Kirki::add_section( 'header_dark_logo_section', array( 'title' => esc_html__( 'Logo For Dark Mode', 'anzu' ), 'panel' => 'header', 'priority' => 160, ) ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_retina_dark_logo_switch', 'label' => esc_html__( 'Different Logo For Retina Devices?', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => false, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_mobile_dark_logo_switch', 'label' => esc_html__( 'Different Logo For Mobile Devices?', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => false, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_transparent_dark_logo_switch', 'label' => esc_html__( 'Different Logo for Transparent Header?', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => false, ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_dark_logo', 'label' => esc_html__( 'Logo', 'anzu' ), 'description' => esc_html__( 'Select logo.', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => '', ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_retina_dark_logo', 'label' => esc_html__( 'Retina Logo', 'anzu' ), 'description' => esc_html__( 'Select a retina logo twice the normal logo size.', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_retina_dark_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_mobile_dark_logo', 'label' => esc_html__( 'Logo For Mobile Devices', 'anzu' ), 'description' => esc_html__( 'Select logo.', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_mobile_dark_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_retina_mobile_dark_logo', 'label' => esc_html__( 'Retina Logo For Mobile Devices', 'anzu' ), 'description' => esc_html__( 'Select a retina logo twice the normal logo size.', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_retina_dark_logo_switch', 'operator' => '==', 'value' => true, ], [ 'setting' => 'anzu_mobile_dark_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_transparent_dark_logo', 'label' => esc_html__( 'Logo For Transparent Header', 'anzu' ), 'description' => esc_html__( 'Select logo.', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_transparent_dark_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Image( [ 'settings' => 'anzu_retina_transparent_dark_logo', 'label' => esc_html__( 'Retina Logo For Transparent Header', 'anzu' ), 'description' => esc_html__( 'Select a retina logo twice the normal logo size.', 'anzu' ), 'section' => 'header_dark_logo_section', 'default' => '', 'active_callback' => [ [ 'setting' => 'anzu_retina_dark_logo_switch', 'operator' => '==', 'value' => true, ], [ 'setting' => 'anzu_transparent_dark_logo_switch', 'operator' => '==', 'value' => true, ] ], ] ); Kirki::add_section( 'transparent_header_section', array( 'title' => esc_html__( 'Transparent Header', 'anzu' ), 'panel' => 'header', 'priority' => 160, ) ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_transparent_header_switch', 'label' => esc_html__( 'Enable Transparent Header', 'anzu' ), 'section' => 'transparent_header_section', 'default' => false, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_transparent_header_pages', 'label' => esc_html__( 'Pages', 'anzu' ), 'section' => 'transparent_header_section', 'default' => true, 'active_callback' => [ [ 'setting' => 'anzu_transparent_header_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_transparent_header_posts', 'label' => esc_html__( 'Posts', 'anzu' ), 'section' => 'transparent_header_section', 'default' => true, 'active_callback' => [ [ 'setting' => 'anzu_transparent_header_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_transparent_header_blog_page', 'label' => esc_html__( 'Blog Page', 'anzu' ), 'section' => 'transparent_header_section', 'default' => false, 'active_callback' => [ [ 'setting' => 'anzu_transparent_header_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_transparent_header_404_archives_search', 'label' => esc_html__( '404, Archives and Search', 'anzu' ), 'section' => 'transparent_header_section', 'default' => false, 'active_callback' => [ [ 'setting' => 'anzu_transparent_header_switch', 'operator' => '==', 'value' => true, ] ], ] ); /*-----------------------------------------------------------------------------------*/ /* *. Colors /*-----------------------------------------------------------------------------------*/ Kirki::add_panel( 'colors', array( 'priority' => 10, 'title' => esc_html__( 'Colors', 'anzu' ), 'description' => esc_html__( 'The color system can help you create a color theme that reflects your brand or style.', 'anzu' ), ) ); Kirki::add_section( 'theme_colors_section', array( 'title' => esc_html__( 'Theme Color', 'anzu' ), 'panel' => 'colors', 'description' => esc_html__( 'The color system can help you create a color theme that reflects your brand or style.', 'anzu' ), 'priority' => 160, ) ); Kirki::add_section( 'light_colors_section', array( 'title' => esc_html__( 'Light Colors', 'anzu' ), 'description' => esc_html__( 'Create and apply color palettes to your UI, as well as measure the accessibility level of any color combination.', 'anzu' ), 'panel' => 'colors', 'priority' => 160, ) ); Kirki::add_section( 'dark_colors_section', array( 'title' => esc_html__( 'Dark Colors', 'anzu' ), 'description' => esc_html__( 'Create and apply color palettes to your UI, as well as measure the accessibility level of any color combination.', 'anzu' ), 'panel' => 'colors', 'priority' => 160, ) ); /*-----------------------------------------------------------------------------------*/ /* *. Container /*-----------------------------------------------------------------------------------*/ Kirki::add_section( 'container_section', array( 'title' => esc_html__( 'Container', 'anzu' ), 'panel' => 'general', 'priority' => 160, ) ); /*-----------------------------------------------------------------------------------*/ /* *. Sidebar /*-----------------------------------------------------------------------------------*/ Kirki::add_section( 'sidebar_section', array( 'title' => esc_html__( 'Sidebar', 'anzu' ), 'description' => esc_html__( 'Make a big impression with this clean, modern, and mobile-friendly site.', 'anzu' ), 'panel' => 'general', 'priority' => 160, ) ); /*-----------------------------------------------------------------------------------*/ /* *. Typography /*-----------------------------------------------------------------------------------*/ Kirki::add_panel( 'typography', array( 'priority' => 10, 'title' => esc_html__( 'Typography', 'anzu' ), 'description' => esc_html__( 'Contains sections for all Anzu controls.', 'anzu' ), ) ); Kirki::add_section( 'typography_body', array( 'title' => esc_html__( 'Body', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all body text.', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_h1', array( 'title' => esc_html__( 'Heading 1 - H1', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_h2', array( 'title' => esc_html__( 'Heading 2 - H2', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_h3', array( 'title' => esc_html__( 'Heading 3 - H3', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_h4', array( 'title' => esc_html__( 'Heading 4 - H4', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_h5', array( 'title' => esc_html__( 'Heading 5 - H5', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_h6', array( 'title' => esc_html__( 'Heading 6 - H6', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_page_title_section', array( 'title' => esc_html__( 'Page Title', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); Kirki::add_section( 'typography_page_title_subheading_section', array( 'title' => esc_html__( 'Page Title Subheading', 'anzu' ), 'panel' => 'typography', 'priority' => 160, ) ); /*-----------------------------------------------------------------------------------*/ /* *. Footer /*-----------------------------------------------------------------------------------*/ Kirki::add_panel( 'footer', array( 'priority' => 10, 'title' => esc_html__( 'Footer', 'anzu' ), 'description' => esc_html__( 'Contains sections for all Anzu controls.', 'anzu' ), ) ); Kirki::add_section( 'above_footer_widgets_section', array( 'title' => esc_html__( 'Above Widgets', 'anzu' ), 'panel' => 'footer', 'priority' => 160, ) ); Kirki::add_section( 'main_footer_widgets_section', array( 'title' => esc_html__( 'Main Widgets', 'anzu' ), 'panel' => 'footer', 'priority' => 160, ) ); Kirki::add_section( 'below_footer_widgets_section', array( 'title' => esc_html__( 'Below Widgets', 'anzu' ), 'panel' => 'footer', 'priority' => 160, ) ); Kirki::add_section( 'footer_bottom_section', array( 'title' => esc_html__( 'Footer Bottom', 'anzu' ), 'panel' => 'footer', 'priority' => 160, ) ); /*-----------------------------------------------------------------------------------*/ /* *. Scroll To Top /*-----------------------------------------------------------------------------------*/ Kirki::add_section( 'scroll_to_top_section', array( 'title' => esc_html__( 'Scroll To Top', 'anzu' ), 'description' => esc_html__( 'As the name suggests, this addon helps add a scroll to top action on longer pages. This takes away the pain of scrolling right to the top when you’ve reached the end of the page.', 'anzu' ), 'priority' => 160, ) ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_scroll_to_top_switch', 'label' => esc_html__( 'Scroll Up Button', 'anzu' ), 'section' => 'scroll_to_top_section', 'default' => true, ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_scroll_to_top_position', 'label' => esc_html__( 'Position', 'anzu' ), 'section' => 'scroll_to_top_section', 'default' => 'scroll-to-top--right', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'scroll-to-top--left' => esc_html__( 'Left', 'anzu' ), 'scroll-to-top--right' => esc_html__( 'Right', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'anzu_scroll_to_top_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Slider( [ 'settings' => 'anzu_scroll_to_top_bottom_position', 'label' => esc_html__( 'Bottom Position', 'anzu' ), 'section' => 'scroll_to_top_section', 'default' => '20', 'choices' => [ 'min' => 0, 'max' => 200, 'step' => 1, 'suffix' => 'px', ], 'output' => array( array( 'element' => '#scroll-to-top', 'property' => 'bottom', 'units' => 'px', ), ), 'active_callback' => [ [ 'setting' => 'anzu_scroll_to_top_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Slider( [ 'settings' => 'anzu_scroll_to_top_button_size', 'label' => esc_html__( 'Button Size', 'anzu' ), 'section' => 'scroll_to_top_section', 'default' => '40', 'choices' => [ 'min' => 0, 'max' => 60, 'step' => 1, 'suffix' => 'px', ], 'output' => array( array( 'element' => '#scroll-to-top', 'property' => 'width', 'units' => 'px', ), array( 'element' => '#scroll-to-top', 'property' => 'height', 'units' => 'px', ), array( 'element' => '#scroll-to-top:before', 'property' => 'line-height', 'units' => 'px', ), ), 'active_callback' => [ [ 'setting' => 'anzu_scroll_to_top_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Slider( [ 'settings' => 'anzu_scroll_to_top_icon_size', 'label' => esc_html__( 'Icon Size', 'anzu' ), 'section' => 'scroll_to_top_section', 'default' => '18', 'choices' => [ 'min' => 0, 'max' => 60, 'step' => 1, 'suffix' => 'px', ], 'output' => array( array( 'element' => '#scroll-to-top:before', 'property' => 'font-size', 'units' => 'px', ), ), 'active_callback' => [ [ 'setting' => 'anzu_scroll_to_top_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Slider( [ 'settings' => 'anzu_scroll_to_top_border_radius', 'label' => esc_html__( 'Border Radius', 'anzu' ), 'section' => 'scroll_to_top_section', 'default' => '3', 'choices' => [ 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px', ], 'output' => array( array( 'element' => '#scroll-to-top', 'property' => 'border-radius', 'units' => 'px', ), ), 'active_callback' => [ [ 'setting' => 'anzu_scroll_to_top_switch', 'operator' => '==', 'value' => true, ] ], ] ); /** * Container Control. */ new \Kirki\Field\Select( [ 'settings' => 'anzu_container', 'label' => esc_html__( 'Layout', 'anzu' ), 'description' => esc_html__( 'Choose the format that works best for you.', 'anzu' ), 'section' => 'container_section', 'default' => 'container', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'container' => esc_html__( 'Contained', 'anzu' ), 'container-fluid' => esc_html__( 'Full Width', 'anzu' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_container_pages', 'label' => esc_html__( 'Pages', 'anzu' ), 'description' => esc_html__( 'Choose the format that works best for you.', 'anzu' ), 'section' => 'container_section', 'default' => 'container', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'container' => esc_html__( 'Contained', 'anzu' ), 'container-fluid' => esc_html__( 'Full Width', 'anzu' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_container_single_posts', 'label' => esc_html__( 'Single Posts', 'anzu' ), 'description' => esc_html__( 'Choose the format that works best for you.', 'anzu' ), 'section' => 'container_section', 'default' => 'container', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'container' => esc_html__( 'Contained', 'anzu' ), 'container-fluid' => esc_html__( 'Full Width', 'anzu' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_container_archives', 'label' => esc_html__( 'Archives', 'anzu' ), 'description' => esc_html__( 'Choose the format that works best for you.', 'anzu' ), 'section' => 'container_section', 'default' => 'container', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'container' => esc_html__( 'Contained', 'anzu' ), 'container-fluid' => esc_html__( 'Full Width', 'anzu' ), ], ] ); /** * Sidebar Control. */ new \Kirki\Field\Select( [ 'settings' => 'anzu_sidebar', 'label' => esc_html__( 'Default Layout', 'anzu' ), 'description' => esc_html__( 'Set sidebar\'s default position. Can either be: right, left, both or none. Note: this can be overridden on individual pages.', 'anzu' ), 'section' => 'sidebar_section', 'default' => 'none', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'right' => esc_html__( 'Right sidebar', 'anzu' ), 'left' => esc_html__( 'Left sidebar', 'anzu' ), 'both' => esc_html__( 'Left & Right sidebars', 'anzu' ), 'none' => esc_html__( 'No sidebar', 'anzu' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_sidebar_pages', 'label' => esc_html__( 'Pages', 'anzu' ), 'section' => 'sidebar_section', 'default' => 'none', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'right' => esc_html__( 'Right sidebar', 'anzu' ), 'left' => esc_html__( 'Left sidebar', 'anzu' ), 'both' => esc_html__( 'Left & Right sidebars', 'anzu' ), 'none' => esc_html__( 'No sidebar', 'anzu' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_sidebar_single_posts', 'label' => esc_html__( 'Single Posts', 'anzu' ), 'section' => 'sidebar_section', 'default' => 'right', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'right' => esc_html__( 'Right sidebar', 'anzu' ), 'left' => esc_html__( 'Left sidebar', 'anzu' ), 'both' => esc_html__( 'Left & Right sidebars', 'anzu' ), 'none' => esc_html__( 'No sidebar', 'anzu' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_sidebar_archives', 'label' => esc_html__( 'Archives', 'anzu' ), 'section' => 'sidebar_section', 'default' => 'right', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'right' => esc_html__( 'Right sidebar', 'anzu' ), 'left' => esc_html__( 'Left sidebar', 'anzu' ), 'both' => esc_html__( 'Left & Right sidebars', 'anzu' ), 'none' => esc_html__( 'No sidebar', 'anzu' ), ], ] ); /** * Colors Control. */ new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_header_dark_mode', 'label' => esc_html__( 'Header Dark Mode', 'anzu' ), 'section' => 'theme_colors_section', 'default' => false, ] ); /* new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_hero_dark_mode', 'label' => esc_html__( 'Hero Dark Mode', 'anzu' ), 'section' => 'theme_colors_section', 'default' => false, ] ); */ new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_content_dark_mode', 'label' => esc_html__( 'Content Dark Mode', 'anzu' ), 'section' => 'theme_colors_section', 'default' => false, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_footer_dark_mode', 'label' => esc_html__( 'Footer Dark Mode', 'anzu' ), 'section' => 'theme_colors_section', 'default' => true, ] ); /** * Light Colors Control. */ new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_primary_color', 'label' => __( 'Primary Color', 'anzu' ), 'description' => esc_html__( 'Pick a primary color for the theme.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#0000FF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => ' .anzu-primary-color--color, .anzu-light-mode a.anzu-brand__title, .anzu-light-mode #main-menu .nav-item.active .nav-link, .anzu-light-mode #main-menu .nav-item:not(.active):hover > .nav-link, .anzu-light-mode #main-menu .dropdown .dropdown-item:hover, .anzu-light-mode article.post .entry-title a:hover', 'property' => 'color', ), array( 'element' => '.anzu-primary-color--background-color', 'property' => 'background-color', ), array( 'element' => '.anzu-primary-color--border-color', 'property' => 'background-color', ), array( 'element' => '#scroll-to-top', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_secondary_color', 'label' => __( 'Secondary Color', 'anzu' ), 'description' => esc_html__( 'Pick a secondary color for the theme.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#FF6819', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-light-mode .anzu-secondary-color--color', 'property' => 'color', ), array( 'element' => '.anzu-light-mode .anzu-secondary-color--background-color', 'property' => 'background-color', ), array( 'element' => '.anzu-light-mode .anzu-secondary-color--border-color', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_tertiary_color', 'label' => __( 'Tertiary Color', 'anzu' ), 'description' => esc_html__( 'Pick a tertiary color for the theme.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#3FCC14', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-light-mode .anzu-tertiary-color--color', 'property' => 'color', ), array( 'element' => '.anzu-light-mode .anzu-tertiary-color--background-color', 'property' => 'background-color', ), array( 'element' => '.anzu-light-mode .anzu-tertiary-color--border-color', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_text_color', 'label' => __( 'Text', 'anzu' ), 'description' => esc_html__( 'It will apply to all the texts.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#333333', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => 'body .anzu-light-mode, .anzu-light-mode p, .anzu-light-mode span', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_heading_color', 'label' => __( 'Heading (H1 - H6)', 'anzu' ), 'description' => esc_html__( 'It will apply to all the headings.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#000000', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => ' .anzu-light-mode .anzu-brand__title, .anzu-light-mode .anzu-brand__tagline, .anzu-light-mode h1, .anzu-light-mode h2, .anzu-light-mode h3, .anzu-light-mode h4, .anzu-light-mode h5, .anzu-light-mode h6', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_link_color', 'label' => __( 'Link', 'anzu' ), 'description' => esc_html__( 'It will apply to all the links.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#0000FF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-light-mode a:not(.btn)', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_link_hover_color', 'label' => __( 'Link Hover', 'anzu' ), 'description' => esc_html__( 'It will apply to all the links.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#0D4DFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-light-mode a:hover:not(.btn)', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_link_active_color', 'label' => __( 'Link Active', 'anzu' ), 'description' => esc_html__( 'It will apply to all the links.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#0D8CFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-light-mode a:active:not(.btn)', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_background_header', 'label' => __( 'Background Header', 'anzu' ), 'description' => esc_html__( 'Pick a background light color for the theme.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#FFFFFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-header.anzu-light-mode', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_background_content', 'label' => __( 'Background Content', 'anzu' ), 'description' => esc_html__( 'Pick a background light color for the theme.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#FFFFFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-content.anzu-light-mode', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_light_colors_background_footer', 'label' => __( 'Background Footer', 'anzu' ), 'description' => esc_html__( 'Pick a background light color for the theme.', 'anzu' ), 'section' => 'light_colors_section', 'default' => '#FFFFFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '#anzu-footer.anzu-light-mode', 'property' => 'background-color', ), ), ] ); /** * Dark Colors Control. */ new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_primary_color', 'label' => __( 'Primary Color', 'anzu' ), 'description' => esc_html__( 'Pick a primary color for the theme.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#0000FF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => ' .anzu-primary-color--color, .anzu-dark-mode a.anzu-brand__url, .anzu-dark-mode #main-menu .nav-item.active .nav-link, .anzu-dark-mode #main-menu .nav-item:not(.active):hover > .nav-link, .anzu-dark-mode #main-menu .dropdown .dropdown-item:hover, .anzu-dark-mode article.post .entry-title a:hover', 'property' => 'color', ), array( 'element' => '.anzu-primary-color--background-color', 'property' => 'background-color', ), array( 'element' => '.anzu-primary-color--border-color', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_secondary_color', 'label' => __( 'Secondary Color', 'anzu' ), 'description' => esc_html__( 'Pick a secondary color for the theme.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#FF6819', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-dark-mode .anzu-secondary-color--color', 'property' => 'color', ), array( 'element' => '.anzu-dark-mode .anzu-secondary-color--background-color', 'property' => 'background-color', ), array( 'element' => '.anzu-dark-mode .anzu-secondary-color--border-color', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_tertiary_color', 'label' => __( 'Tertiary Color', 'anzu' ), 'description' => esc_html__( 'Pick a tertiary color for the theme.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#3FCC14', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-dark-mode .anzu-tertiary-color--color', 'property' => 'color', ), array( 'element' => '.anzu-dark-mode .anzu-tertiary-color--background-color', 'property' => 'background-color', ), array( 'element' => '.anzu-dark-mode .anzu-tertiary-color--border-color', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_text_color', 'label' => __( 'Text', 'anzu' ), 'description' => esc_html__( 'It will apply to all the texts.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#cccccc', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => 'body .anzu-dark-mode, .anzu-dark-mode p, .anzu-dark-mode span', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_heading_color', 'label' => __( 'Heading (H1 - H6)', 'anzu' ), 'description' => esc_html__( 'It will apply to all the headings.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#FFFFFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => ' .anzu-dark-mode .anzu-brand__title, .anzu-dark-mode .anzu-brand__tagline, .anzu-dark-mode h1, .anzu-dark-mode h2, .anzu-dark-mode h3, .anzu-dark-mode h4, .anzu-dark-mode h5, .anzu-dark-mode h6', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_link_color', 'label' => __( 'Link', 'anzu' ), 'description' => esc_html__( 'It will apply to all the links.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#0000FF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-dark-mode a:not(.btn)', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_link_hover_color', 'label' => __( 'Link Hover', 'anzu' ), 'description' => esc_html__( 'It will apply to all the links.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#0D4DFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-dark-mode a:hover:not(.btn)', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_link_active_color', 'label' => __( 'Link Active', 'anzu' ), 'description' => esc_html__( 'It will apply to all the links.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#0D8CFF', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-dark-mode a:active:not(.btn)', 'property' => 'color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_background_header', 'label' => __( 'Background Header', 'anzu' ), 'description' => esc_html__( 'Pick a background dark color for the theme.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#000000', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-header.anzu-dark-mode', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_background_content', 'label' => __( 'Background Content', 'anzu' ), 'description' => esc_html__( 'Pick a background dark color for the theme.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#000000', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '.anzu-content.anzu-dark-mode', 'property' => 'background-color', ), ), ] ); new \Kirki\Field\Color( [ 'settings' => 'anzu_dark_colors_background_footer', 'label' => __( 'Background Footer', 'anzu' ), 'description' => esc_html__( 'Pick a background dark color for the theme.', 'anzu' ), 'section' => 'dark_colors_section', 'default' => '#000000', 'choices' => [ 'alpha' => true, ], 'output' => array( array( 'element' => '#anzu-footer.anzu-dark-mode', 'property' => 'background-color', ), ), ] ); /** * Typography Control. */ new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_body', 'label' => esc_html__( 'Body', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all body text.', 'anzu' ), 'section' => 'typography_body', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => 'body, p, span', ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_heading_1', 'label' => esc_html__( 'Heading 1', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all H1 headers.', 'anzu' ), 'section' => 'typography_h1', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ 'h1' ], ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_heading_2', 'label' => esc_html__( 'Heading 2', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all H2 headers.', 'anzu' ), 'section' => 'typography_h2', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ 'h2' ], ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_heading_3', 'label' => esc_html__( 'Heading 3', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all H3 headers.', 'anzu' ), 'section' => 'typography_h3', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ 'h3' ], ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_heading_4', 'label' => esc_html__( 'Heading 4', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all H4 headers.', 'anzu' ), 'section' => 'typography_h4', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ 'h4' ], ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_heading_5', 'label' => esc_html__( 'Heading 5', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all H5 headers.', 'anzu' ), 'section' => 'typography_h5', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ 'h5' ], ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_heading_6', 'label' => esc_html__( 'Heading 6', 'anzu' ), 'description' => esc_html__( 'These settings control the typography for all H6 headers.', 'anzu' ), 'section' => 'typography_h6', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ 'h6' ], ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_page_title', 'label' => esc_html__( 'Page Title', 'anzu' ), 'description' => esc_html__( 'These settings control the typography of all page titles.', 'anzu' ), 'section' => 'typography_page_title_section', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ '#page .anzu-hero__title' ], ], ], ] ); new \Kirki\Field\Typography( [ 'settings' => 'anzu_typography_page_title_subheading', 'label' => esc_html__( 'Page Title Subheading', 'anzu' ), 'description' => esc_html__( 'These settings control the typography of all page title subheadings.', 'anzu' ), 'section' => 'typography_page_title_subheading_section', 'priority' => 10, 'transport' => 'auto', 'default' => [ 'font-family' => '', 'variant' => '', 'font-size' => '', 'font-style' => '', 'line-height' => '', 'letter-spacing' => '', 'text-transform' => '', 'text-decoration' => '', 'margin-top' => '', 'margin-bottom' => '', ], 'output' => [ [ 'element' => [ '#page .anzu-hero__subheading' ], ], ], ] ); /** * Footer Control. */ // Above Footer new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'above_footer_widgets_switch', 'label' => esc_html__( 'Enable Above Footer', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => false, ] ); new \Kirki\Field\Select( [ 'settings' => 'above_footer_widgets_column', 'label' => esc_html__( 'Select Control', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => '3', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ '1' => esc_html__( '1 Column', 'anzu' ), '2' => esc_html__( '2 Columns', 'anzu' ), '3' => esc_html__( '3 Columns', 'anzu' ), '4' => esc_html__( '4 Columns', 'anzu' ), '5' => esc_html__( '5 Columns', 'anzu' ), '6' => esc_html__( '6 Columns', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'above_footer_widgets_layout_1', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/12.png', ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_column', 'operator' => '==', 'value' => '1', ], [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'above_footer_widgets_layout_2', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-6.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/8-4.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/4-8.png', '4' => ANZU_THEME_URI . '/inc/customizer/assets/img/9-3.png', '5' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-9.png', ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_column', 'operator' => '==', 'value' => '2', ], [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'above_footer_widgets_layout_3', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/4-4-4.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-3-3.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-3-6.png', '4' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-6-3.png', '5' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-8-2.png', ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_column', 'operator' => '==', 'value' => '3', ], [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'above_footer_widgets_layout_4', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-3-3-3.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-2-2-2.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-2-2-6.png', ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_column', 'operator' => '==', 'value' => '4', ], [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'above_footer_widgets_layout_5', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/2.4-2.4-2.4-2.4-2.4.png', ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_column', 'operator' => '==', 'value' => '5', ], [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'above_footer_widgets_layout_6', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-2-2-2-2-2.png', ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_column', 'operator' => '==', 'value' => '6', ], [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_above_footer_vertical_alignment', 'label' => esc_html__( 'Vertical Alignment', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => 'align-items-center', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'align-items-start' => esc_html__( 'Top', 'anzu' ), 'align-items-center' => esc_html__( 'Middle', 'anzu' ), 'align-items-end' => esc_html__( 'Bottom', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_above_footer_layout_type', 'label' => esc_html__( 'Layout Style', 'anzu' ), 'description' => esc_html__( 'Choose the format that works best for you.', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => 'container', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'container' => esc_html__( 'Boxed', 'anzu' ), 'container-fluid p-0' => esc_html__( 'Stretched', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_above_footer_height', 'label' => esc_html__( 'Height', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => [ 'min-height' => '', ], 'output' => [ [ 'element' => '#anzu-above-footer .row', ], ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_above_footer_padding', 'label' => esc_html__( 'Padding', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => [ 'padding-top' => '', 'padding-bottom' => '', 'padding-left' => '', 'padding-right' => '', ], 'output' => [ [ 'element' => '#anzu-above-footer', ], ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_above_footer_margin', 'label' => esc_html__( 'Margin', 'anzu' ), 'section' => 'above_footer_widgets_section', 'default' => [ 'margin-top' => '', 'margin-bottom' => '', 'margin-left' => '', 'margin-right' => '', ], 'output' => [ [ 'element' => '#anzu-above-footer', ], ], 'active_callback' => [ [ 'setting' => 'above_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); // Main Footer new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'main_footer_widgets_switch', 'label' => esc_html__( 'Enable Main Footer', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => false, ] ); new \Kirki\Field\Select( [ 'settings' => 'main_footer_widgets_column', 'label' => esc_html__( 'Select Control', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => '3', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ '1' => esc_html__( '1 Column', 'anzu' ), '2' => esc_html__( '2 Columns', 'anzu' ), '3' => esc_html__( '3 Columns', 'anzu' ), '4' => esc_html__( '4 Columns', 'anzu' ), '5' => esc_html__( '5 Columns', 'anzu' ), '6' => esc_html__( '6 Columns', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'main_footer_widgets_layout_1', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/12.png', ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_column', 'operator' => '==', 'value' => '1', ], [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'main_footer_widgets_layout_2', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-6.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/8-4.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/4-8.png', '4' => ANZU_THEME_URI . '/inc/customizer/assets/img/9-3.png', '5' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-9.png', ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_column', 'operator' => '==', 'value' => '2', ], [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'main_footer_widgets_layout_3', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/4-4-4.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-3-3.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-3-6.png', '4' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-6-3.png', '5' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-8-2.png', ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_column', 'operator' => '==', 'value' => '3', ], [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'main_footer_widgets_layout_4', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-3-3-3.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-2-2-2.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-2-2-6.png', ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_column', 'operator' => '==', 'value' => '4', ], [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'main_footer_widgets_layout_5', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/2.4-2.4-2.4-2.4-2.4.png', ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_column', 'operator' => '==', 'value' => '5', ], [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'main_footer_widgets_layout_6', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-2-2-2-2-2.png', ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_column', 'operator' => '==', 'value' => '6', ], [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_main_footer_vertical_alignment', 'label' => esc_html__( 'Vertical Alignment', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => 'align-items-center', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'align-items-start' => esc_html__( 'Top', 'anzu' ), 'align-items-center' => esc_html__( 'Middle', 'anzu' ), 'align-items-end' => esc_html__( 'Bottom', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_main_footer_layout_type', 'label' => esc_html__( 'Layout Style', 'anzu' ), 'description' => esc_html__( 'Choose the format that works best for you.', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => 'container', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'container' => esc_html__( 'Boxed', 'anzu' ), 'container-fluid p-0' => esc_html__( 'Stretched', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_main_footer_height', 'label' => esc_html__( 'Height', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => [ 'min-height' => '', ], 'output' => [ [ 'element' => '#anzu-main-footer .row', ], ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_main_footer_padding', 'label' => esc_html__( 'Padding', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => [ 'padding-top' => '', 'padding-bottom' => '', 'padding-left' => '', 'padding-right' => '', ], 'output' => [ [ 'element' => '#anzu-main-footer', ], ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_main_footer_margin', 'label' => esc_html__( 'Margin', 'anzu' ), 'section' => 'main_footer_widgets_section', 'default' => [ 'margin-top' => '', 'margin-bottom' => '', 'margin-left' => '', 'margin-right' => '', ], 'output' => [ [ 'element' => '#anzu-main-footer', ], ], 'active_callback' => [ [ 'setting' => 'main_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); // Below Footer new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'below_footer_widgets_switch', 'label' => esc_html__( 'Enable Below Footer', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => false, ] ); new \Kirki\Field\Select( [ 'settings' => 'below_footer_widgets_column', 'label' => esc_html__( 'Select Control', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => '3', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ '1' => esc_html__( '1 Column', 'anzu' ), '2' => esc_html__( '2 Columns', 'anzu' ), '3' => esc_html__( '3 Columns', 'anzu' ), '4' => esc_html__( '4 Columns', 'anzu' ), '5' => esc_html__( '5 Columns', 'anzu' ), '6' => esc_html__( '6 Columns', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'below_footer_widgets_layout_1', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/12.png', ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_column', 'operator' => '==', 'value' => '1', ], [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'below_footer_widgets_layout_2', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-6.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/8-4.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/4-8.png', '4' => ANZU_THEME_URI . '/inc/customizer/assets/img/9-3.png', '5' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-9.png', ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_column', 'operator' => '==', 'value' => '2', ], [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'below_footer_widgets_layout_3', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/4-4-4.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-3-3.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-3-6.png', '4' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-6-3.png', '5' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-8-2.png', ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_column', 'operator' => '==', 'value' => '3', ], [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'below_footer_widgets_layout_4', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/3-3-3-3.png', '2' => ANZU_THEME_URI . '/inc/customizer/assets/img/6-2-2-2.png', '3' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-2-2-6.png', ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_column', 'operator' => '==', 'value' => '4', ], [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'below_footer_widgets_layout_5', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/2.4-2.4-2.4-2.4-2.4.png', ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_column', 'operator' => '==', 'value' => '5', ], [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Radio_Image( [ 'settings' => 'below_footer_widgets_layout_6', 'label' => esc_html__( 'Layout', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => '1', 'choices' => [ '1' => ANZU_THEME_URI . '/inc/customizer/assets/img/2-2-2-2-2-2.png', ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_column', 'operator' => '==', 'value' => '6', ], [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_below_footer_vertical_alignment', 'label' => esc_html__( 'Vertical Alignment', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => 'align-items-center', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'align-items-start' => esc_html__( 'Top', 'anzu' ), 'align-items-center' => esc_html__( 'Middle', 'anzu' ), 'align-items-end' => esc_html__( 'Bottom', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Select( [ 'settings' => 'anzu_below_footer_layout_type', 'label' => esc_html__( 'Layout Style', 'anzu' ), 'description' => esc_html__( 'Choose the format that works best for you.', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => 'container', 'placeholder' => esc_html__( 'Select an option', 'anzu' ), 'choices' => [ 'container' => esc_html__( 'Boxed', 'anzu' ), 'container-fluid p-0' => esc_html__( 'Stretched', 'anzu' ), ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_below_footer_height', 'label' => esc_html__( 'Height', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => [ 'min-height' => '', ], 'output' => [ [ 'element' => '#anzu-below-footer .row', ], ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_below_footer_padding', 'label' => esc_html__( 'Padding', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => [ 'padding-top' => '', 'padding-bottom' => '', 'padding-left' => '', 'padding-right' => '', ], 'output' => [ [ 'element' => '#anzu-below-footer', ], ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_below_footer_margin', 'label' => esc_html__( 'Margin', 'anzu' ), 'section' => 'below_footer_widgets_section', 'default' => [ 'margin-top' => '', 'margin-bottom' => '', 'margin-left' => '', 'margin-right' => '', ], 'output' => [ [ 'element' => '#anzu-below-footer', ], ], 'active_callback' => [ [ 'setting' => 'below_footer_widgets_switch', 'operator' => '==', 'value' => true, ] ], ] ); // Copyright Footer new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_copyright_switch', 'label' => esc_html__( 'Enable Copyright', 'anzu' ), 'section' => 'footer_bottom_section', 'default' => true, ] ); new \Kirki\Field\Checkbox_Switch( [ 'settings' => 'anzu_footer_site_title_switch', 'label' => esc_html__( 'Enable Site Title', 'anzu' ), 'section' => 'footer_bottom_section', 'default' => false, ] ); new \Kirki\Field\Editor( [ 'settings' => 'anzu_copyright', 'label' => esc_html__( 'Copyright', 'anzu' ), 'section' => 'footer_bottom_section', 'default' => 'Copyright [anzu_copyright] [anzu_current_year] [anzu_site_title] | Powered by [anzu_theme_author]', 'active_callback' => [ [ 'setting' => 'anzu_copyright_switch', 'operator' => '==', 'value' => true, ] ], ], ); new \Kirki\Field\Dimensions( [ 'settings' => 'anzu_copyright_height', 'label' => esc_html__( 'Height', 'anzu' ), 'section' => 'footer_bottom_section', 'default' => [ 'min-height' => '80px', ], 'output' => [ [ 'element' => '#anzu-footer #site-info', ], ], 'active_callback' => [ [ 'setting' => 'anzu_copyright_switch', 'operator' => '==', 'value' => true, ] ], ] );