<?php
	$params = array(
        array(
            "type" => "textfield",
            "heading" => esc_html__("Grid Item Space - Font Size", 'wp_medico'),
            "param_name" => "gird_item_space",
            "description" => esc_html__("px, Default: 0px", 'wp_medico'),
            "template" => array(
                "cms_grid--layout-project1.php",
                "cms_grid--layout-project2.php",
            ),
        ),
        array(
            "type" => "dropdown",
            "heading" => esc_html__("Crop Images",'wp_medico'),
            "param_name" => "gird_crop_image",
            "description" => esc_html__("Apply Layout Type: Masonry", 'wp_medico'),
            "value" => array(
                    "No" => "",
                    "Yes" => "yes",
            ),
            "template" => array(
                "cms_grid--layout-project1.php",
                "cms_grid--layout-project2.php",
            ),
        ),
        array(
            "type" => "dropdown",
            "heading" => esc_html__("Hide Load More", 'wp-yellow-hats'),
            "param_name" => "hide_load_more",
            "value" => array(
                "No" => "",             
                "Yes" => "yes",             
            ),
            "template" => array(
                "cms_grid--layout-project1.php",
                "cms_grid--layout-project2.php",
                "cms_grid--layout-team1.php",
            ),
            "group" => esc_html__("Template", 'wp-yellow-hats'),
        ),

        array(
            "type" => "dropdown",
            "heading" => esc_html__("Hide Icon", 'wp-yellow-hats'),
            "param_name" => "hide_icon_services",
            "value" => array(
                "No" => "show-icon",
                "Hidden Icon Style 1" => "hidden-icon-style1",                
                "Hidden Icon Style 2" => "hidden-icon-style2",                
            ),
            "template" => array(
                "cms_grid--layout-services2.php",
            ),
            "group" => esc_html__("Template", 'wp-yellow-hats'),
        ),
	);
	vc_remove_param('cms_grid','cms_template');
	$cms_template_attribute = array(
		'type' => 'cms_template_img',
	    'param_name' => 'cms_template',
	    "shortcode" => "cms_grid",
	    "heading" => esc_html__("Shortcode Template",'wp-yellow-hats'),
	    "admin_label" => true,
	    "group" => esc_html__("Template", 'wp-yellow-hats'),
		);
	vc_add_param('cms_grid',$cms_template_attribute);
?>