esc_html__( 'In Focus', 'brighter-blog' ), 'panel' => 'font-page-settings', ) ); //enable disable In Focus new \Kirki\Field\Checkbox_Switch( [ 'label' => esc_html__( 'Enable In Focus', 'brighter-blog' ), 'section' => 'in_focus_options', 'settings' => 'enable_in_focus_section', 'default' => 'on', 'choices' => [ 'on' => esc_html__( 'Enable', 'brighter-blog' ), 'off' => esc_html__( 'Disable', 'brighter-blog' ), ], ] ); new \Kirki\Field\Text( [ 'settings' => 'in_focus_section_title', 'label' => esc_html__( 'In Focus', 'brighter-blog' ), 'default' => 'In Focus', 'section' => 'in_focus_options', 'active_callback' => [ [ 'setting' => 'enable_in_focus_section', 'operator' => '==', 'value' => true, ], ], 'partial_refresh' => [ 'in_focus_title_refresh' => [ 'selector' => 'h2.in-focus-title.section-title', 'render_callback' => 'brighter_blog_in_focus_customizer_quick_edit', ], ], ] ); // Toggle Field: Choose between Category or Latest Post new \Kirki\Field\Radio( [ 'settings' => 'in_focus_choose_cat_or_latest', 'label' => esc_html__( 'Select Content Type', 'brighter-blog' ), 'section' => 'in_focus_options', 'default' => 'latest', 'choices' => [ 'latest' => esc_html__( 'Latest Post', 'brighter-blog' ), ], 'active_callback' => [ [ 'setting' => 'enable_in_focus_section', 'operator' => '==', 'value' => true, ], ], ] ); Kirki::add_field( 'theme_config', [ 'type' => 'custom', 'settings' => 'in_focus_pro_feature_upgrade', 'section' => 'in_focus_options', 'default' => '
' . esc_html__( 'Unlock exclusive features and customization options by upgrading to the Pro version.', 'brighter-blog' ) . '
' . esc_html__( 'Upgrade Now', 'brighter-blog' ) . '