$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' => 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', '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' => '