<?php
vc_map(array(
    "name" => 'CMS Heading',
    "base" => "cms_heading",
    "icon" => "cs_icon_for_vc",
    "category" => esc_html__('CmsSuperheroes Shortcodes', 'wp-yellow-hats'),
    "params" => array(
        array(
            "type" => "textfield",
            "heading" => __ ( 'Subtitle', 'wp-yellow-hats' ),
            "param_name" => "hd_subtitle",
            "value" => '',
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats')
        ),

        array(
            "type" => "colorpicker",
            "heading" => esc_html__("Sub Color",'wp-yellow-hats'),
            "param_name" => "sub_color",
            "value" => "",
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats')
        ),

        array(
            "type" => "textfield",
            "heading" => __ ( 'Title', 'wp-yellow-hats' ),
            "param_name" => "hd_title",
            "value" => '',
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats')
        ),

        array(
            "type" => "colorpicker",
            "heading" => esc_html__("Title Color",'wp-yellow-hats'),
            "param_name" => "text_color",
            "value" => "",
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats')
        ),

        array(
            "type" => "textarea",
            "heading" => __ ( 'Description', 'wp-yellow-hats' ),
            "param_name" => "hd_description",
            "value" => '',
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats')
        ),

        array(
            "type" => "colorpicker",
            "heading" => esc_html__("Description Color",'wp-yellow-hats'),
            "param_name" => "desc_color",
            "value" => "",
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats')
        ),

        array(
            "type" => "textfield",
            "heading" => __ ( 'Button Text', 'wp-yellow-hats' ),
            "param_name" => "hd_btn_text",
            "value" => '',
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats'),
        ),

        array(
            "type" => "textfield",
            "heading" => __ ( 'Button Link', 'wp-yellow-hats' ),
            "param_name" => "hd_btn_link",
            "value" => '',
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats'),
        ),
         
        array(
            'type' => 'cms_template_img',
            'param_name' => 'cms_template',
            "shortcode" => "cms_heading",
            "heading" => esc_html__("Shortcode Template",'wp-yellow-hats'),
            "admin_label" => true,
            "group" => esc_html__("Template", 'wp-yellow-hats'),
        ),
        array(
            "type" => "textfield",
            "heading" => __ ( 'Add Custom Class', 'wp-yellow-hats' ),
            "param_name" => "custom_class",
            "value" => '',
            "group" => esc_html__("Heading Settings", 'wp-yellow-hats'),
        ),
    )
));

class WPBakeryShortCode_cms_heading extends CmsShortCode
{

    protected function content($atts, $content = null)
    {
        return parent::content($atts, $content);
    }
}

?>