esc_html__( 'General Options', 'brighter-blog' ), 'panel' => 'brighter_blog_theme_options', ) ); Kirki::add_field( 'theme_config', [ 'type' => 'switch', 'settings' => 'preloader_options', 'label' => esc_html__( 'Enable Preloader', 'brighter-blog' ), 'section' => 'general_options', 'default' => 'on', 'choices' => [ 'on' => esc_html__( 'Enable', 'brighter-blog' ), 'off' => esc_html__( 'Disable', 'brighter-blog' ), ], ] ); // Body Color Kirki::add_field('theme_config', [ 'type' => 'color', 'settings' => 'theme_body_color', 'label' => __('Body Background Color', 'brighter-blog'), 'section' => 'general_options', 'default' => '', 'transport' => 'auto', 'output' => [ [ 'element' => 'body', 'property' => 'background-color', // Specify the CSS property to change 'important' => true, ], ], ]); Kirki::add_field( 'theme_config', [ 'type' => 'switch', 'settings' => 'popup_subscribe_options', 'label' => esc_html__( 'Enable Popup Subscribe', 'brighter-blog' ), 'section' => 'general_options', 'default' => 'off', 'choices' => [ 'on' => esc_html__( 'Enable', 'brighter-blog' ), 'off' => esc_html__( 'Disable', 'brighter-blog' ), ], ] ); // shortcode section new \Kirki\Field\Text( [ 'settings' => 'popup_newsletter_shortcode', 'label' => esc_html__( 'Enter Popup Subscribe Form Shortcode', 'brighter-blog' ), 'section' => 'general_options', 'default' => '[contact-form-7 id="578f70d" title="Contact form 1"]', 'active_callback' => [ [ 'setting' => 'popup_subscribe_options', 'operator' => '===', 'value' => true, ] ], ] ); Kirki::add_field( 'theme_config', [ 'type' => 'custom', 'settings' => 'theme_color_pro_feature_upgrade', 'section' => 'general_options', 'default' => '

' . esc_html__( 'Upgrade to Pro!', 'brighter-blog' ) . '

' . esc_html__( 'Unlock exclusive features and customization options by upgrading to the Pro version.', 'brighter-blog' ) . '

' . esc_attr__( 'Pro Feature', 'brighter-blog' ) . ' ' . esc_html__( 'Upgrade Now', 'brighter-blog' ) . '
', ] );