<?php
vc_add_param("vc_custom_heading", array(
    "type" => "dropdown",
    "class" => "",
    "heading" => esc_html__("Custom Heading Type", 'haswell'),
    "admin_label" => true,
    "param_name" => "cms_custom_headding_type",
    "value" => array(
        "Default" => "",
        "Heading with line" => "heading-line",
        "Heading with underline" => "heading-underline",
        "Heading with underline" => "heading-underline",
        "Heading inline and text bold" => "heading-inline-textbold",
        "Heading text bold and rotator" => "heading-textbold-rotator",
        "Heading inline and text bold and rotator" => "heading-inline-textbold-rotator",
        "Heading with underline and text bold" => "heading-underline-textbold",
        "Heading with borderleft and text bold" => "heading-borderleft-textbold",
        "Heading inline borderleft and text bold" => "heading-inline-borderleft-textbold heading-borderleft-textbold",
        
    ),
    "description" => esc_html__('Select custom heading type', 'haswell')
));

vc_add_param("vc_custom_heading", array(
    'type' => 'checkbox',
    'heading' => esc_html__( 'Display Block ?', 'haswell' ),
    'param_name' => 'cms_heading_block',
    'description' => esc_html__( 'Set heading display block, default is inline-block', 'haswell' ),
));

vc_add_param("vc_custom_heading", array(
    'type' => 'checkbox',
    'heading' => esc_html__( 'Set color, border color is #f1f1f1 ?', 'haswell' ),
    'param_name' => 'cms_heading_specolor',
    'description' => esc_html__( 'Special color', 'haswell' ),
));
vc_add_param("vc_custom_heading", array(
    'type' => 'textfield',
    'heading' => esc_html__( 'Letter Spacing', 'haswell' ),
    'param_name' => 'cms_heading_letter_spacing',
    'description' => esc_html__( 'Letter Spacing - in pixel', 'haswell' ),
));
vc_add_param("vc_custom_heading", array(
    'type' => 'dropdown',
    'heading' => esc_html__( 'Rotator Effect', 'haswell' ),
    'param_name' => 'cms_rotator_effect',
    'description' => esc_html__( 'Suitable for rotator type', 'haswell' ),
    'value' => array(
        'Fade' => 'fade',
        'Zoom Out' => 'zoom_out'
    )
));
vc_add_param("vc_custom_heading", array(
    'type' => 'checkbox',
    'heading' => esc_html__( 'Use CMS custom link style', 'haswell' ),
    'param_name' => 'cms_link_style',
    'description' => esc_html__( 'New style for link - Need set link before', 'haswell' ),
));