<?php add_action( 'vc_before_init', 'dt_sc_partners_carousel_vc_map' );
function dt_sc_partners_carousel_vc_map() {
	vc_map( array(
		"name" => esc_html__( "Partners carousel", 'dental-core' ),
		"base" => "dt_sc_partners_carousel",
		"icon" => "dt_sc_partners_carousel",
		"category" => DT_VC_CATEGORY,
		'description' => esc_html__( 'Partners carousel with images', 'dental-core' ),
		"params" => array(
			
			#Image
			array(
				'type' => 'attach_images',
				'heading' => esc_html__( 'Images', 'dental-core' ),
				'param_name' => 'images',
				'description' => esc_html__( 'Select partner images from media library', 'dental-core' )
			),

			#Scroll
			array(
				'type' => 'textfield',
				'param_name' => 'scroll',
				'heading' => esc_html__( 'Scroll', 'dental-core' ),
				'value' => '3',				
				'description' => esc_html__( 'The number of items to scroll at once', 'dental-core' )
			),

			#Visible
			array(
				'type' => 'textfield',
				'param_name' => 'visible',
				'heading' => esc_html__( 'Visible', 'dental-core' ),
				'value' => '3',
 				'description' => esc_html__( 'The number of items to show at once', 'dental-core' )
			)
		)	 
	) );
}?>