$description) { $exclude_theme_locations_opt[$location] = ucfirst($description); } return $exclude_theme_locations_opt; } $fields[] = array( 'type' => 'radio-image', 'settings' => 'footer_style', 'label' => esc_html__( 'Footer Layout', 'borax' ), 'section' => 'footer_section', 'default' => '1', 'priority' => 10, 'choices' => array( '1' => BORAX_IMAGES . '/admin/kirki/footer/1.jpg', '2' => BORAX_IMAGES . '/admin/kirki/footer/2.jpg', '3' => BORAX_IMAGES . '/admin/kirki/footer/3.jpg', '4' => BORAX_IMAGES . '/admin/kirki/footer/4.jpg', '5' => BORAX_IMAGES . '/admin/kirki/footer/5.jpg', ), ); $fields[] = array( 'type' => 'image', 'settings' => 'footer_bg_image', 'label' => esc_html__( 'Background Image', 'borax' ), 'section' => 'footer_section', 'output' => array( array( 'element' => '.footer .foo-top, .footer-2, footer.footer.footer-style-4', 'property' => 'background-image', ), ), ); $fields[] = array( 'type' => 'color', 'settings' => 'footer_bg_color', 'label' => esc_html__( 'Background Color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .foo-top, .footer-2, .footer-wrap .footer-style-2', 'property' => 'background-color', ), ), ); $fields[]= array( 'type' => 'switch', 'settings' => 'show_footer_widget', 'label' => esc_html__( 'Show Footer widget area', 'borax' ), 'section' => 'footer_section', 'default' => false, 'choices' => array( 'on' => esc_attr__( 'Enable', 'borax' ), 'off' => esc_attr__( 'Disable', 'borax' ), ), 'required' => array( array( array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 1, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 3, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 5, ), ) ), ); $fields[]= array( 'type' => 'switch', 'settings' => 'sticky_footer', 'label' => esc_html__( 'Enable Sticky Footer', 'borax' ), 'section' => 'footer_section', 'default' => false, 'choices' => array( 'on' => esc_attr__( 'Enable', 'borax' ), 'off' => esc_attr__( 'Disable', 'borax' ), ), ); $fields[] = array( 'type' => 'image', 'settings' => 'footer_logo', 'label' => esc_html__( 'Footer Logo', 'borax' ), 'section' => 'footer_section', 'default' => BORAX_IMAGES . '/logo.png', 'required' => array( array( array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 2, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 4, ), ) ), ); $fields[] = array( 'type' => 'select', 'settings' => 'footer_menu_list', 'label' => esc_html__( 'Select Footer Menu', 'borax' ), 'section' => 'footer_section', 'default' => 'footer-menu', 'choices' => borax_get_menu_list(), 'required' => array( array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 2, ), ), ); $fields[] = array( 'type' => 'select', 'settings' => 'footer_widget_layout', 'label' => esc_html__( 'Footer Widget Per Row', 'borax' ), 'section' => 'footer_section', 'default' => '3', 'choices' => array( '12' => esc_attr__( '1', 'borax' ), '6' => esc_attr__( '2', 'borax' ), '4' => esc_attr__( '3', 'borax' ), '3' => esc_attr__( '4', 'borax' ), ), 'required' => array( array( array( 'setting' => 'show_footer_widget', 'operator' => '==', 'value' => true, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 1, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 3, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 5, ), ) ), ); $fields[] = array( 'type' => 'color', 'settings' => 'footer_widget_title', 'label' => esc_html__( 'Footer Widget Title color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer h4.widget-title', 'property' => 'color', ), ), 'required' => array( array( array( 'setting' => 'show_footer_widget', 'operator' => '==', 'value' => true, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 1, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 5, ), ) ), ); $fields[] = array( 'type' => 'color', 'settings' => 'footer_text_color', 'label' => esc_html__( 'Footer text color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .widget li a, .footer .foo-nav li a, .footer .foo-social li a', 'property' => 'color', ), array( 'element' => '.widget-text p, .textwidget p, .widget-text p b, .textwidget p b, .widget-text p strong, .textwidget p strong', 'property' => 'color', ), ), 'required' => array( array( 'setting' => 'show_footer_widget', 'operator' => '==', 'value' => true, ), ), ); $fields[] = array( 'type' => 'color', 'settings' => 'footer_link_color', 'label' => esc_html__( 'Footer link hover color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .widget li a:hover, .footer .foo-nav li a, .footer .foo-social li a', 'property' => 'color', ), array( 'element' => '.footer .widget-navigation a::before', 'property' => 'background-color', ) ), 'required' => array( array( 'setting' => 'show_footer_widget', 'operator' => '==', 'value' => true, ), ), ); $fields[] = array( 'type' => 'color', 'settings' => 'footer_border_color', 'label' => esc_html__( 'Footer menu border color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .widget li a', 'property' => 'border-color', ), ), 'required' => array( array( 'setting' => 'show_footer_widget', 'operator' => '==', 'value' => true, ), array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 1, ), ), ); /* * * Footer Butoom Area * */ // Divider Title $fields[] = array( 'type' => 'custom', 'settings' => 'top_ftter_title', 'label' => 'Footer Bottom Content Options', 'section' => 'footer_section', 'default' => '
'.esc_html__("Footer Bottom Section","borax").'
', 'priority' => 10, ); $fields[]= array( 'type' => 'switch', 'settings' => 'show_footer_bottom_area', 'label' => esc_html__( 'Show Footer Bottom Area', 'borax' ), 'section' => 'footer_section', 'default' => false, 'choices' => array( 'on' => esc_attr__( 'Enable', 'borax' ), 'off' => esc_attr__( 'Disable', 'borax' ), ), ); $fields[]= array( 'type' => 'textarea', 'settings' => 'mailchimp', 'label' => esc_html__( 'Footer Subscribe shortcode', 'borax' ), 'section' => 'footer_section', 'transport' => 'postMessage', 'js_vars' => array( array( 'element' => '.footer .copyright', 'function' => 'html' ), ), // 'default' => esc_html__( 'Copyright - 2020 Themeies.com. All rights reserved.', 'borax' ), 'required' => array( array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 3, ), ), ); $fields[]= array( 'type' => 'textarea', 'settings' => 'copyright_text', 'label' => esc_html__( 'Footer Copyright Text', 'borax' ), 'section' => 'footer_section', 'transport' => 'postMessage', 'js_vars' => array( array( 'element' => '.footer .copyright', 'function' => 'html' ), ), 'default' => esc_html__( 'Copyright - 2020 Themeies.com. All rights reserved.', 'borax' ), ); $fields[] = array( 'type' => 'color', 'settings' => 'copyright_bg_color', 'label' => esc_html__( 'Footer Buttom Background', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .foo-btm, .footer .footer-bottom', 'property' => 'background-color', ), ), 'required' => array( array( 'setting' => 'show_footer_bottom_area', 'operator' => '===', 'value' => true, ), ), ); $fields[] = array( 'type' => 'color', 'settings' => 'copyright_text_color', 'label' => esc_html__( 'Text color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .copyright, .footer-style-4 .copyright-text, .footer .footer-bottom .copyright', 'property' => 'color', ), ), 'required' => array( array( 'setting' => 'show_footer_bottom_area', 'operator' => '==', 'value' => true, ), ), ); $fields[] = array( 'type' => 'color', 'settings' => 'copyright_link_color', 'label' => esc_html__( 'Footer bottom Link color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .copyright a', 'property' => 'color', ), ), 'required' => array( array( 'setting' => 'show_footer_bottom_area', 'operator' => '==', 'value' => true, ), ), ); $fields[] = array( 'type' => 'color', 'settings' => 'social_ico_color', 'label' => esc_html__( 'Social Icons color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .foo-social li a', 'property' => 'color', ), ), 'required' => array( array( 'setting' => 'show_footer_bottom_area', 'operator' => '==', 'value' => true, ), ), ); $fields[] = array( 'type' => 'color', 'settings' => 'social_ico__hover_color', 'label' => esc_html__( 'Social Icons Hover color', 'borax' ), 'section' => 'footer_section', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer .foo-social li a:hover', 'property' => 'color', ), ), 'required' => array( array( 'setting' => 'show_footer_bottom_area', 'operator' => '==', 'value' => true, ), ), ); $fields[] = array( 'type' => 'repeater', 'label' => esc_html__( 'Social Control', 'borax' ), 'section' => 'footer_section', 'priority' => 10, 'row_label' => array( 'type' => 'text', 'value' => esc_html__('Social Profile', 'borax' ), ), 'settings' => 'footer_social_links', 'default' => array( array( 'social_icon' => '', 'social_url' => '', ), ), 'fields' => array( 'social_icon' => array( 'type' => 'text', 'label' => esc_html__( 'Social Icon', 'borax' ), 'default' => 'fab fa-facebook', ), 'social_url' => array( 'type' => 'text', 'label' => esc_html__( 'Social URL', 'borax' ), 'default' => '#', ), ), 'required' => array( array( 'setting' => 'show_footer_bottom_area', 'operator' => '==', 'value' => true, ), ), ); $fields[] = array( 'type' => 'repeater', 'label' => esc_html__( 'Contact Info Top', 'borax' ), 'section' => 'footer_section', 'row_label' => array( 'type' => 'text', 'value' => esc_attr__('Contact Info Top', 'borax' ), ), 'settings' => 'addressBar', 'required' => array( array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 5, ), ), 'fields' => array( 'image' => array( 'type' => 'image', 'label' => esc_html__( 'Image', 'borax' ), 'default' => '', ), 'heading' => array( 'type' => 'text', 'label' => esc_attr__( 'Heading', 'borax' ), 'default' => 'Contact Info', ), 'descriptions' => array( 'type' => 'textarea', 'label' => esc_attr__( 'Description', 'borax' ), 'default' => 'sales@example.com', ), ), ); $fields[] = array( 'type' => 'repeater', 'label' => esc_html__( 'Bottom Footer Info', 'borax' ), 'section' => 'footer_section', 'row_label' => array( 'type' => 'text', 'value' => esc_attr__('Bottom Footer Info', 'borax' ), ), 'settings' => 'imageBar', 'default' => array( array( 'image' => '', 'heading' => esc_html__('Name','borax'), ), ), 'required' => array( array( 'setting' => 'footer_style', 'operator' => '==', 'value' => 5, ), ), 'fields' => array( 'imageBarImage' => array( 'type' => 'image', 'label' => esc_html__( 'Image', 'borax' ), 'default' => '', ), 'imageBarIeading' => array( 'type' => 'text', 'label' => esc_attr__( 'Heading', 'borax' ), 'default' => 'Contact Info', ), ) );