<?php
/**
 * Biz Ecommerce manage the Customizer options of general panel.
 *
 * @subpackage biz-ecommerce
 * @since 1.0 
 */
Kirki::add_field(
	'biz_ecommerce_config', array(
		'type'        => 'checkbox',
		'settings'    => 'biz_ecommerce_home_posts',
		'label'       => esc_attr__( 'Checked to hide latest posts in homepage.', 'biz-ecommerce' ),
		'section'     => 'static_front_page',
		'default'     => true,
	)
);

// Color Picker field for Primary Color
Kirki::add_field( 
	'biz_ecommerce_config', array(
		'type'        => 'color',
		'settings'    => 'biz_ecommerce_theme_color',
		'label'       => esc_html__( 'Primary Color', 'biz-ecommerce' ),
		'section'     => 'colors',
		'default'     => '#f10e00',
	)
);