Current Path : /var/www/mainsite/wp-content/themes/maxcoach/customizer/header/ |
Current File : /var/www/mainsite/wp-content/themes/maxcoach/customizer/header/style-14.php |
<?php $section = 'header_style_14'; $priority = 1; $prefix = 'header_style_14_'; Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Header Style', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'border_width', 'label' => esc_html__( 'Border Bottom Width', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 0, 'transport' => 'auto', 'choices' => array( 'min' => 0, 'max' => 50, 'step' => 1, ), 'output' => array( array( 'element' => '.header-14 .page-header-inner', 'property' => 'border-bottom-width', 'units' => 'px', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Header Components', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => $prefix . 'search_enable', 'label' => esc_html__( 'Search', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 'popup', 'choices' => array( '0' => esc_html__( 'Hide', 'maxcoach' ), 'inline' => esc_html__( 'Inline Form', 'maxcoach' ), 'popup' => esc_html__( 'Popup Search', 'maxcoach' ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => $prefix . 'login_enable', 'label' => esc_html__( 'Login', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => '0', 'choices' => array( '0' => esc_html__( 'Hide', 'maxcoach' ), '1' => esc_html__( 'Show', 'maxcoach' ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => $prefix . 'cart_enable', 'label' => esc_html__( 'Mini Cart', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => '0', 'choices' => array( '0' => esc_html__( 'Hide', 'maxcoach' ), '1' => esc_html__( 'Show', 'maxcoach' ), 'hide_on_empty' => esc_html__( 'Hide On Empty', 'maxcoach' ), ), ) ); Maxcoach_Customize::instance()->field_social_networks_enable( array( 'settings' => $prefix . 'social_networks_enable', 'section' => $section, 'priority' => $priority++, 'default' => '0', ) ); Maxcoach_Customize::instance()->field_language_switcher_enable( array( 'settings' => $prefix . 'language_switcher_enable', 'section' => $section, 'priority' => $priority++, ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Button', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'text', 'settings' => $prefix . 'button_text', 'label' => esc_html__( 'Button Text', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'text', 'settings' => $prefix . 'button_link', 'label' => esc_html__( 'Button Link', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'text', 'settings' => $prefix . 'button_link_rel', 'label' => esc_html__( 'Button Link Relationship (XFN)', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => $prefix . 'button_link_target', 'label' => esc_html__( 'Open link in a new tab.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => '0', 'choices' => array( '0' => esc_html__( 'No', 'maxcoach' ), '1' => esc_html__( 'Yes', 'maxcoach' ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => $prefix . 'button_style', 'label' => esc_html__( 'Button Style', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 'thick-border', 'choices' => Maxcoach_Header::instance()->get_button_style(), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Header Navigation (Level 1)', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'kirki_typography', 'settings' => $prefix . 'navigation_typography', 'label' => esc_html__( 'Typography', 'maxcoach' ), 'description' => esc_html__( 'These settings control the typography for menu items.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => array( 'font-family' => '', 'variant' => '500', 'font-size' => '14px', 'line-height' => '1.43', 'letter-spacing' => '1px', 'text-transform' => 'uppercase', ), 'output' => array( array( 'element' => '.header-14 .menu--primary > ul > li > a', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'spacing', 'settings' => $prefix . 'navigation_item_padding', 'label' => esc_html__( 'Item Padding', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => array( 'top' => '30px', 'bottom' => '30px', 'left' => '18px', 'right' => '18px', ), 'transport' => 'auto', 'output' => array( array( 'element' => array( '.desktop-menu .header-14 .menu--primary > ul > li > a', ), 'property' => 'padding', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Header Dark Skin', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Style', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'color-alpha', 'settings' => $prefix . 'dark_border_color', 'label' => esc_html__( 'Border Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the border color of header.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => '#eee', 'output' => array( array( 'element' => '.header-14.header-dark .page-header-inner', 'property' => 'border-color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'text', 'settings' => $prefix . 'dark_box_shadow', 'label' => esc_html__( 'Box Shadow', 'maxcoach' ), 'description' => esc_html__( 'Input box shadow for header. For e.g: 0 0 5px #ccc', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'output' => array( array( 'element' => '.header-14.header-dark .page-header-inner', 'property' => 'box-shadow', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Icon', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_header_icon_color', 'label' => esc_html__( 'Icon Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of icons on header.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => Maxcoach::TEXT_COLOR, 'hover' => Maxcoach::PRIMARY_COLOR, ), 'output' => array( array( 'choice' => 'normal', 'element' => ' .header-14.header-dark .header-icon, .header-14.header-dark .wpml-ls-item-toggle', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.header-14.header-dark .header-icon:hover', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.header-14.header-dark .wpml-ls-slot-shortcode_actions:hover > .js-wpml-ls-item-toggle', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Cart Badge', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_cart_badge_color', 'label' => esc_html__( 'Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of cart badge.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), ), 'default' => array( 'color' => '#fff', 'background' => Maxcoach::PRIMARY_COLOR, ), 'output' => array( array( 'choice' => 'color', 'element' => '.header-14.header-dark .mini-cart .mini-cart-icon:after', 'property' => 'color', ), array( 'choice' => 'background', 'element' => '.header-14.header-dark .mini-cart .mini-cart-icon:after', 'property' => 'background-color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Navigation', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_navigation_link_color', 'label' => esc_html__( 'Link Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color for main menu items.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => Maxcoach::HEADING_COLOR, 'hover' => Maxcoach::PRIMARY_COLOR, ), 'output' => array( array( 'choice' => 'normal', 'element' => '.header-14.header-dark .menu--primary > ul > li > a', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => ' .header-14.header-dark .menu--primary > ul > li:hover > a, .header-14.header-dark .menu--primary > ul > li > a:hover, .header-14.header-dark .menu--primary > ul > li > a:focus, .header-14.header-dark .menu--primary > ul > .current-menu-ancestor > a, .header-14.header-dark .menu--primary > ul > .current-menu-item > a', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Search Form', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_search_form_color', 'label' => esc_html__( 'Normal', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => '#8C89A2', 'background' => '#ffffff', 'border' => '#ffffff', ), 'output' => Maxcoach_Header::instance()->get_search_form_kirki_output( '14', 'dark', false ), 'active_callback' => array( array( 'setting' => $prefix . 'search_enable', 'operator' => '==', 'value' => 'inline', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_search_form_focus_color', 'label' => esc_html__( 'Hover', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => Maxcoach::SECONDARY_COLOR, 'background' => '#fff', 'border' => Maxcoach::PRIMARY_COLOR, ), 'output' => Maxcoach_Header::instance()->get_search_form_kirki_output( '14', 'dark', true ), 'active_callback' => array( array( 'setting' => $prefix . 'search_enable', 'operator' => '==', 'value' => 'inline', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Button', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => $prefix . 'dark_button_color', 'label' => esc_html__( 'Button Color', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 'custom', 'choices' => array( '' => esc_html__( 'Default', 'maxcoach' ), 'custom' => esc_html__( 'Custom', 'maxcoach' ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_button_custom_color', 'label' => esc_html__( 'Button Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of button.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => '#fff', 'background' => Maxcoach::PRIMARY_COLOR, 'border' => Maxcoach::PRIMARY_COLOR, ), 'output' => Maxcoach_Header::instance()->get_button_kirki_output( '14', 'dark', false ), 'active_callback' => array( array( 'setting' => $prefix . 'dark_button_color', 'operator' => '==', 'value' => 'custom', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_button_hover_custom_color', 'label' => esc_html__( 'Button Hover Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of button when hover.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => Maxcoach::PRIMARY_COLOR, 'background' => 'rgba(0, 0, 0, 0)', 'border' => Maxcoach::PRIMARY_COLOR, ), 'output' => Maxcoach_Header::instance()->get_button_kirki_output( '14', 'dark', true ), 'active_callback' => array( array( 'setting' => $prefix . 'dark_button_color', 'operator' => '==', 'value' => 'custom', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Social Networks', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'dark_social_networks_color', 'label' => esc_html__( 'Color', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => Maxcoach::TEXT_COLOR, 'hover' => Maxcoach::PRIMARY_COLOR, ), 'output' => array( array( 'choice' => 'normal', 'element' => '.header-14.header-dark .header-social-networks a', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.header-14.header-dark .header-social-networks a:hover', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Header Light Skin', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Style', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'color-alpha', 'settings' => $prefix . 'light_border_color', 'label' => esc_html__( 'Border Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the border color of header.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => 'rgba(255, 255, 255, 0.2)', 'output' => array( array( 'element' => '.header-14.header-light .page-header-inner', 'property' => 'border-color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'text', 'settings' => $prefix . 'light_box_shadow', 'label' => esc_html__( 'Box Shadow', 'maxcoach' ), 'description' => esc_html__( 'Input box shadow for header. For e.g: 0 0 5px #ccc', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'output' => array( array( 'element' => '.header-14.header-light .page-header-inner', 'property' => 'box-shadow', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Icon', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_header_icon_color', 'label' => esc_html__( 'Icon Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of icons on header.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => '#fff', 'hover' => '#fff', ), 'output' => array( array( 'choice' => 'normal', 'element' => ' .header-14.header-light .header-icon, .header-14.header-light .wpml-ls-item-toggle', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.header-14.header-light .header-icon:hover', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.header-14.header-light .wpml-ls-slot-shortcode_actions:hover > .js-wpml-ls-item-toggle', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Cart Badge', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_cart_badge_color', 'label' => esc_html__( 'Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of cart badge.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), ), 'default' => array( 'color' => '#141', 'background' => '#fff', ), 'output' => array( array( 'choice' => 'color', 'element' => '.header-14.header-light .mini-cart .mini-cart-icon:after', 'property' => 'color', ), array( 'choice' => 'background', 'element' => '.header-14.header-light .mini-cart .mini-cart-icon:after', 'property' => 'background-color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Navigation', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_navigation_link_color', 'label' => esc_html__( 'Navigation Link Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color for main menu items.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => '#fff', 'hover' => '#fff', ), 'output' => array( array( 'choice' => 'normal', 'element' => '.header-14.header-light .menu--primary > ul > li > a', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => ' .header-14.header-light .menu--primary > ul > li:hover > a, .header-14.header-light .menu--primary > ul > li > a:hover, .header-14.header-light .menu--primary > ul > li > a:focus, .header-14.header-light .menu--primary > ul > .current-menu-ancestor > a, .header-14.header-light .menu--primary > ul > .current-menu-item > a', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Search Form', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_search_form_color', 'label' => esc_html__( 'Normal', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => '#696969', 'background' => '#fff', 'border' => '#fff', ), 'output' => Maxcoach_Header::instance()->get_search_form_kirki_output( '14', 'light', false ), 'active_callback' => array( array( 'setting' => $prefix . 'search_enable', 'operator' => '==', 'value' => 'inline', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_search_form_focus_color', 'label' => esc_html__( 'Hover', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => '#333', 'background' => '#fff', 'border' => Maxcoach::PRIMARY_COLOR, ), 'output' => Maxcoach_Header::instance()->get_search_form_kirki_output( '14', 'light', true ), 'active_callback' => array( array( 'setting' => $prefix . 'search_enable', 'operator' => '==', 'value' => 'inline', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Button', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => $prefix . 'light_button_color', 'label' => esc_html__( 'Button Color', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 'custom', 'choices' => array( '' => esc_html__( 'Default', 'maxcoach' ), 'custom' => esc_html__( 'Custom', 'maxcoach' ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_button_custom_color', 'label' => esc_html__( 'Button Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of button.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => '#fff', 'background' => 'rgba(255, 255, 255, 0)', 'border' => 'rgba(255, 255, 255, 0.3)', ), 'output' => Maxcoach_Header::instance()->get_button_kirki_output( '14', 'light', false ), 'active_callback' => array( array( 'setting' => $prefix . 'light_button_color', 'operator' => '==', 'value' => 'custom', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_button_hover_custom_color', 'label' => esc_html__( 'Button Hover Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of button when hover.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'color' => esc_attr__( 'Color', 'maxcoach' ), 'background' => esc_attr__( 'Background', 'maxcoach' ), 'border' => esc_attr__( 'Border', 'maxcoach' ), ), 'default' => array( 'color' => '#141', 'background' => '#fff', 'border' => '#fff', ), 'output' => Maxcoach_Header::instance()->get_button_kirki_output( '14', 'light', true ), 'active_callback' => array( array( 'setting' => $prefix . 'light_button_color', 'operator' => '==', 'value' => 'custom', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Header Social Networks', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'light_social_networks_color', 'label' => esc_html__( 'Normal Color', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => '#fff', 'hover' => '#fff', ), 'output' => array( array( 'choice' => 'normal', 'element' => '.header-14.header-light .header-social-networks a', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.header-14.header-light .header-social-networks a:hover', 'property' => 'color', ), ), ) );