10, 'title' => esc_html__('General Settings', 'bring-back'), 'description' => esc_html__('General Settings', 'bring-back'), )); // Site Layout Section bring_back_Kirki::add_section('site_layout_section', array( 'title' => esc_html__('Site Width', 'bring-back'), 'panel' => 'general_panel', 'priority' => 10, )); // Pre Loader Section bring_back_Kirki::add_section('pre_loader_section', array( 'title' => esc_html__('Pre Loader', 'bring-back'), 'panel' => 'general_panel', 'priority' => 5, )); // Site Layout bring_back_Kirki::add_field('bring_back', array( 'type' => 'radio-buttonset', 'settings' => 'site_layout', 'label' => __('Site Layout', 'bring-back'), 'section' => 'site_layout_section', 'default' => 'wide', 'priority' => 10, 'choices' => array( 'wide' => esc_html__('Wide', 'bring-back'), 'boxed' => esc_html__('Boxed', 'bring-back'), ), )); // Body Background Image bring_back_Kirki::add_section('background_image', array( 'title' => __('Body Background Image', 'bring-back'), 'theme_supports' => 'custom-background', 'panel' => 'general_panel', 'priority' => 20, )); // Boxed Layout Color bring_back_Kirki::add_field('bring_back', array( 'type' => 'color', 'settings' => 'boxed_layout_bg', 'label' => esc_html__('Background Color ( Boxed Layout only )', 'bring-back'), 'section' => 'site_layout_section', 'default' => '#fcfcfc', 'priority' => 25, 'output' => array( array( 'element' => 'body.boxed-layout', 'property' => 'background-color', ), ), )); // Pre Loader bring_back_Kirki::add_field('bring_back', array( 'type' => 'toggle', 'settings' => 'enable_preloader', 'label' => __( 'Enable Pre Loader?', 'bring-back' ), 'section' => 'pre_loader_section', 'default' => true, 'priority' => 5 ));