__( 'Highlights Section', 'bizpoint' ), 'description' => __( 'You must have selected "Static Page" in your "Homepage Settings". You can use this section for your services, products or 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_highlights', 'label' => esc_attr__( 'Hide Section', 'bizpoint' ), 'section' => 'highlights_section', 'default' => false, ) ); // segment title Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'custom', 'settings' => 'hr_line_high_1', 'section' => 'highlights_section', 'default' => '

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

', ) ); // Title Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'text', 'settings' => 'highlight_title', 'label' => __( 'Section Title', 'bizpoint' ), 'section' => 'highlights_section', 'default' => __( 'Main Highlights', 'bizpoint' ), 'partial_refresh' => array( 'highlight_title' => array( 'selector' => '.bp-section.high-section .section-title', 'render_callback' => 'bizpoint_get_theme_mod' ), ), ) ); // Subtitle Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'textarea', 'settings' => 'highlight_subtitle', 'label' => __( 'Section Subtitle', 'bizpoint' ), 'section' => 'highlights_section', 'default' => __( 'You can use this section to display your services / products or features. You can easily edit them in customizer.', 'bizpoint' ) ) ); // Repeater Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'repeater', 'label' => esc_attr__( 'Highlight Cards', 'bizpoint' ), 'description' => esc_attr__( 'We recommend using 3 highlight cards for better look.', 'bizpoint' ), 'section' => 'highlights_section', 'row_label' => array( 'type' => 'text', 'value' => esc_attr__('Highlight Card', 'bizpoint' ), ), 'settings' => 'highlights', 'default' => array( array( 'high_title' => esc_html__( 'Pixel Perfect Design', 'bizpoint' ), 'high_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'bizpoint' ), 'high_image' => get_template_directory_uri() . '/images/highlight-1.jpg', ), array( 'high_title' => esc_html__( 'Easy To Use', 'bizpoint' ), 'high_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'bizpoint' ), 'high_image' => get_template_directory_uri() . '/images/highlight-2.jpg', ), array( 'high_title' => esc_html__( 'Mobile Ready', 'bizpoint' ), 'high_desc' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'bizpoint' ), 'high_image' => get_template_directory_uri() . '/images/highlight-3.jpg', ), ), 'fields' => array( 'high_image' => array( 'type' => 'image', 'label' => esc_html__( 'Image', 'bizpoint' ), 'default' => '', ), 'high_title' => array( 'type' => 'text', 'label' => esc_html__( 'Title', 'bizpoint' ), 'default' => '', ), 'high_desc' => array( 'type' => 'text', 'label' => esc_html__( 'Description', 'bizpoint' ), 'default' => '', ), ) ) ); // Premium banner Bizpoint_Kirki::add_field( 'bizpoint_theme', array( 'type' => 'custom', 'settings' => 'hr_line_high_3', 'section' => 'highlights_section', 'default' => '

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

' . __( 'You get more customization options with the premium version. Upgrade today.', 'bizpoint' ) . '

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