__( 'Features Section', 'bizpoint' ), 'description' => __( 'You must have selected "Static Page" in your "Homepage Settings". You can use this section to mention your features.', 'bizpoint' ), 'panel' => 'custom_frontpage', // Not typically needed. 'capability' => 'edit_theme_options', 'theme_supports' => '', // Rarely needed. ) ); // Hide Section Checkbox Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'checkbox', 'settings' => 'hide_features', 'label' => esc_attr__( 'Hide Section', 'bizpoint' ), 'section' => 'features_section', 'default' => false, ) ); // segment title Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'custom', 'settings' => 'hr_line_features_1', 'section' => 'features_section', 'default' => '

'. __( 'Content', 'bizpoint') .'

', ) ); // Title Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'text', 'settings' => 'features_title', 'label' => __( 'Section Title', 'bizpoint' ), 'section' => 'features_section', 'default' => __( 'Key Features', 'bizpoint' ), 'partial_refresh' => array( 'features_title' => array( 'selector' => '.bp-section.features-section .section-title', 'render_callback' => 'bizpoint_get_theme_mod' ), ), ) ); // Subtitle Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'textarea', 'settings' => 'features_subtitle', 'label' => __( 'Section Subtitle', 'bizpoint' ), 'section' => 'features_section', 'default' => __( 'You can use this section to display your company\'s key features. You can easily edit them in customizer.', 'bizpoint' ) ) ); // Repeater Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'repeater', 'label' => esc_attr__( 'Features', 'bizpoint' ), 'section' => 'features_section', 'row_label' => array( 'type' => 'text', 'value' => esc_attr__('Feature', 'bizpoint' ), ), 'settings' => 'features', 'default' => array( array( 'feature_title' => esc_html__( 'Fast & Lightweight', 'bizpoint' ), 'feature_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et aliqua.', 'bizpoint' ), ), array( 'feature_title' => esc_html__( 'Search Engine Friendly', 'bizpoint' ), 'feature_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et aliqua.', 'bizpoint' ), ), array( 'feature_title' => esc_html__( 'Translation Ready', 'bizpoint' ), 'feature_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et aliqua.', 'bizpoint' ), ), array( 'feature_title' => esc_html__( 'Compatible with Builders', 'bizpoint' ), 'feature_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et aliqua.', 'bizpoint' ), ), array( 'feature_title' => esc_html__( 'Secure & Stable', 'bizpoint' ), 'feature_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et aliqua.', 'bizpoint' ), ), array( 'feature_title' => esc_html__( 'Customize with Live Preview', 'bizpoint' ), 'feature_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et aliqua.', 'bizpoint' ), ), ), 'fields' => array( 'feature_title' => array( 'type' => 'text', 'label' => esc_html__( 'Title', 'bizpoint' ), 'default' => '', ), 'feature_desc' => array( 'type' => 'text', 'label' => esc_html__( 'Description', 'bizpoint' ), 'default' => '', ), ) ) ); // Premium banner Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'custom', 'settings' => 'hr_line_features_3', 'section' => 'features_section', 'default' => '

'. __( 'Upgrade to Premium', 'bizpoint') .'

' . __( 'You get more customization options with premium version. You get following extra options for features section:', 'bizpoint' ) . '

' . __( 'Upgrade Now', 'bizpoint' ) . '
', ) );