<?php
/*** Removing shortcodes ***/
vc_remove_element("vc_widget_sidebar");
vc_remove_element("vc_gallery");
vc_remove_element("vc_wp_search");
vc_remove_element("vc_wp_meta");
vc_remove_element("vc_wp_recentcomments");
vc_remove_element("vc_wp_calendar");
vc_remove_element("vc_wp_pages");
vc_remove_element("vc_wp_tagcloud");
vc_remove_element("vc_wp_custommenu");
vc_remove_element("vc_wp_text");
vc_remove_element("vc_wp_posts");
vc_remove_element("vc_wp_links");
vc_remove_element("vc_wp_categories");
vc_remove_element("vc_wp_archives");
vc_remove_element("vc_wp_rss");
vc_remove_element("vc_teaser_grid");
vc_remove_element("vc_button");
vc_remove_element("vc_button2");
vc_remove_element("vc_cta_button");
vc_remove_element("vc_cta_button2");
vc_remove_element("vc_message");
vc_remove_element("vc_tour");
vc_remove_element("vc_progress_bar");
vc_remove_element("vc_pie");
vc_remove_element("vc_posts_slider");
vc_remove_element("vc_toggle");
vc_remove_element("vc_images_carousel");
vc_remove_element("vc_posts_grid");
vc_remove_element("vc_carousel");

/*** Remove unused parameters ***/
if (function_exists('vc_remove_param')) {
	vc_remove_param('vc_single_image', 'css_animation');
	vc_remove_param('vc_column_text', 'css_animation');
	vc_remove_param('vc_row', 'video_bg');
	vc_remove_param('vc_row', 'video_bg_url');
	vc_remove_param('vc_row', 'video_bg_parallax');
	vc_remove_param('vc_row', 'full_height');
	vc_remove_param('vc_row', 'content_placement');
	vc_remove_param('vc_row', 'full_width');
	vc_remove_param('vc_row', 'bg_image');
	vc_remove_param('vc_row', 'bg_color');
	vc_remove_param('vc_row', 'font_color');
	vc_remove_param('vc_row', 'margin_bottom');
	vc_remove_param('vc_row', 'bg_image_repeat');
	vc_remove_param('vc_tabs', 'interval');
	vc_remove_param('vc_separator', 'style');
	vc_remove_param('vc_separator', 'color');
	vc_remove_param('vc_separator', 'accent_color');
	vc_remove_param('vc_separator', 'el_width');
	vc_remove_param('vc_text_separator', 'style');
	vc_remove_param('vc_text_separator', 'color');
	vc_remove_param('vc_text_separator', 'accent_color');
	vc_remove_param('vc_text_separator', 'el_width');
	vc_remove_param('vc_row', 'gap');
    vc_remove_param('vc_row', 'columns_placement');
    vc_remove_param('vc_row', 'equal_height');
    vc_remove_param('vc_row_inner', 'gap');
    vc_remove_param('vc_row_inner', 'content_placement');
    vc_remove_param('vc_row_inner', 'equal_height');
    vc_remove_param('vc_hoverbox', 'use_custom_fonts_primary_title');
    vc_remove_param('vc_hoverbox', 'use_custom_fonts_hover_title');
    vc_remove_param('vc_hoverbox', 'hover_add_button');
	vc_remove_param('vc_row', 'parallax');
    vc_remove_param('vc_row', 'parallax_image');
	vc_remove_param('vc_row', 'parallax_speed_bg');
	vc_remove_param('vc_row', 'parallax_speed_video');
	vc_remove_param('vc_row', 'disable_element');
	vc_remove_param('vc_row', 'el_id');
	vc_remove_param('vc_row', 'el_class');
	//vc_remove_param('vc_row', 'css_animation');
}

/*** Row ***/

vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"show_settings_on_create"=>true,
	"heading" => "Row Type",
	"param_name" => "row_type",
	"value" => array(		
		"Blank Section" => "st1",
		"Bauen Section" => "main-section",
	)
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"heading" => "Section Layout",
	"param_name" => "bauen_section_layout",
	"value" => array(
		"Full Width" => "section_full_width",
		"In Container" => "section_grid",
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"heading" => "Container Layout",
	"param_name" => "bauen_section_layout_grid",
	"value" => array(
		"Default" => "",
		"Fluid" => "section_layout_grid",
		"Fluid 2" => "section_layout_grid2",
		"Wide" => "section_layout_grid3",
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"heading" => "Row Layout",
	"param_name" => "bauen_section_row_grid",
	"value" => array(
		"Default" => "",
		"Row OFF" => "no",
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"show_settings_on_create"=>true,
	"heading" => "Section Padding Top",
	"param_name" => "bauen_df_padding_top",
	"value" => array(	
		"No Padding" => "no-padding-top",
		"Padding 90px" => "section-padding1",
		
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"show_settings_on_create"=>true,
	"heading" => "Section Padding Bottom",
	"param_name" => "bauen_df_padding_bottom",
	"value" => array(	
		"No Padding" => "no-padding-bottom",
		"Padding 90px" => "section-padding2",
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "colorpicker",
	"class" => "",
	"heading" => "Background Color",
	"param_name" => "bauen_background_color",
	"value" => "",
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"heading" => "Background Color Scheme",
	"param_name" => "bauen_color_scheme",
	"value" => array(
		"None" => "",
		"Scheme 1" => "bg-scheme-1",
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "attach_image",
	"class" => "",
	"heading" => "Background Image",
	"value" => "",
	"param_name" => "bauen_background_img",
	"description" => "",
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"heading" => "Background Parallax Effect",
	"param_name" => "bauen_background_parallaxx",
	"value" => array(
		"Disable" => "",
		"Enable" => "st1",
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "dropdown",
	"class" => "",
	"heading" => "Background Parallax Overly",
	"param_name" => "bauen_background_overly",
	"value" => array(
		"None" => "0",
		"1" => "1",
		"2" => "2",
		"3" => "3",
		"4" => "4",
		"5" => "5",
		"6" => "6",
		"7" => "7",
		"8" => "8",
		"9" => "9",
	),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "textfield",
	"class" => "",
	"heading" => "Padding Top",
	"param_name" => "bauen_padding_top",
	"value" => "",
	"description" => esc_attr__("In format: 10px", 'bauen'),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "textfield",
	"class" => "",
	"heading" => "Padding Bottom",
	"param_name" => "bauen_padding_bottom",
	"value" => "",
	"description" => esc_attr__("In format: 10px", 'bauen'),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "textfield",
	"class" => "",
	"heading" => "Margin Top",
	"param_name" => "bauen_margin_top",
	"value" => "",
	"description" => esc_attr__("In format: 10px", 'bauen'),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));
vc_add_param("vc_row", array(
	"type" => "textfield",
	"class" => "",
	"heading" => "Margin Bottom",
	"param_name" => "bauen_margin_bottom",
	"value" => "",
	"description" => esc_attr__("In format: 10px", 'bauen'),
	"dependency" => Array('element' => "row_type", 'value' => array('main-section'))
));


/*** Row Inner ***/

vc_add_param("vc_row_inner", array(
	"type" => "dropdown",
	"class" => "",
	"show_settings_on_create"=>true,
	"heading" => "Row Margin",
	"param_name" => "inner_sec_effect_opt",
	"value" => array(
		"None" => "",
		"MT30" => "mt-30",
		"MB30" => "mb-30",
		"MT60" => "mt-60",
		"MB60" => "mb-60",		
		"MT90" => "mt-90",
		"MB90" => "mb-90",
		"MT60 MB60" => "mt-60 mb-60",
	),	
	"description" => "(Optional)",
));



/***************** Bauen  Shortcodes *********************/


// Heading  Block
class WPBakeryShortCode_WR_VC_Section_Heading  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Heading", "bauen",
        "base" => "wr_vc_section_heading",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-ui-custom_heading",       
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Style Type",
				"param_name" => "featyretype",
				"value" => array(
					"Style 1" => "st1",
					"Style 2" => "st2",			
				),
				"description" => ""
			),				
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title",
				"param_name" => "title",
				"value" => "",
				"description" => "Ex: Our [span] Services [/span]",
				"admin_label" => true,
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Tag",
				"param_name" => "tag",
				"value" => array(
				    "H2 (Default)" => "2",
					"H1" => "1",
					"H3" => "3",
					"H4" => "4",
					"H5" => "5",
					"H6" => "6",
				),
				"description" => "",
			),			
			array(
				"type" => "textarea_html",
				"holder" => "div",
				"class" => "",
				"heading" => "Content",
				"param_name" => "content",
				"value" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),				
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Animate Effect",
				"param_name" => "animate",
				"value" => array(
					"Disable" => "",
					"Enable" => "yes",
				),
				"description" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),												
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Default Margin",
				"param_name" => "df_mrg",
				"value" => array(
					"None" => "",
					"MB 30" => "mb-30",
				),
				"description" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),     
        ),
        
) );

// Text Block
class WPBakeryShortCode_WR_VC_Section_Context  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Text Block", "bauen",
        "base" => "wr_vc_section_context",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-layer-shape-text",        
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "textarea_html",
				"holder" => "div",
				"class" => "",
				"heading" => "Content",
				"param_name" => "content",
				"value" => "",
			),
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),
            
        ),
        
) );

// Image Block
vc_map( array(
		"name" => "Bauen Image",
		"base" => "wr_vc_section_image",
		"category" => 'By Bauen',
		"icon" => "icon-wpb-single-image",
		"allowed_contaibauen_element" => 'vc_row',
		"params" => array(
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Style Type",
				"param_name" => "featyretype",
				"value" => array(
					"Style 1" => "st1",
					"Style 2" => "st2",								
				),
				"description" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Animate Effect",
				"param_name" => "animate",
				"value" => array(
					"Disable" => "",
					"Enable" => "yes",
				),
				"description" => "",
			),				
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Upload Image",
				"param_name" => "image",
				"value" => "",
				"admin_label" => true,
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st2'))
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "URL",
				"param_name" => "link_url",				
				"admin_label" => true,
				"value" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "URL Target",
				"param_name" => "link_target",
				"value" => array(
					"Default" => "",
					"Self" => "_self",
					"Blank" => "_blank",
					"Parent" => "_parent",	
					"Top" => "_top"	
				),
				"description" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen'),
			),

		)
) );

// Gallery Block
vc_map( array(
		"name" => "Bauen Gallery",
		"base" => "wr_vc_section_gallery",
		"category" => 'By Bauen',
		"icon" => "icon-wpb-images-stack",
		"allowed_contaibauen_element" => 'vc_row',
		"params" => array(
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Style Type",
				"param_name" => "featyretype",
				"value" => array(
					"Image" => "st1",
					"Video" => "st2",									
				),
				"description" => ""
			),					
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Gallery Image",
				"param_name" => "image",
				"value" => "",
				"admin_label" => true,
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "YouTube/Vimeo Video URL",
				"param_name" => "link_url",
				"admin_label" => true,
				"value" => "",
				"description" => __("Please insert video URL in format: https://youtu.be/RziCmLzpFNY  <br> https://vimeo.com/449554367", 'bauen'),
				"dependency" => Array('element' => "featyretype", 'value' => array('st2'))
			),							
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen'),
				"dependency" => Array('element' => "featyretype", 'value' => array('st2'))
			),
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Padding",
				"param_name" => "padding",
				"value" => "",
				"description" => __("Please insert padding in format: 0px 0px 0px 0px", 'bauen'),
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),
		)
) );


// Video Block
vc_map( array(
		"name" => "Bauen Video",
		"base" => "wr_vc_section_video",
		"category" => 'By Bauen',
		"icon" => "icon-wpb-film-youtube",
		"allowed_contaibauen_element" => 'vc_row',
		"params" => array(
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Video URL",
				"param_name" => "link_url",
				"admin_label" => true,
				"value" => "",
				"description" => __("Please insert video URL in format: https://youtu.be/RziCmLzpFNY", 'bauen'),
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Video Title",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Video Title Tag",
				"param_name" => "tag",
				"value" => array(
				    "H5 (Default)" => "5",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H4" => "4",
					"H6" => "6",
				),
				"description" => "",
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),
		)
) );

// Portfolio Block
vc_map( array(
		"name" => "Bauen Portfolio",
		"base" => "wr_vc_portfolio",
		"category" => 'By Bauen',
		"icon" => "vc_icon-vc-hoverbox",
		"allowed_contaibauen_element" => 'vc_row',
		"params" => array(
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Style Type",
				"param_name" => "featyretype",
				"value" => array(
					"Grid" => "st1",
					"Carousel" => "st2",
				),
				"description" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Animate Effect",
				"param_name" => "animate",
				"value" => array(
					"Disable" => "",
					"Enable" => "yes",
				),
				"description" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Column Size",
				"param_name" => "col_size",
				"value" => array(
				    "2 Columns" => "6",
					"3 Columns" => "4",
					"4 Columns" => "3",
					
				),
				"description" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Post Title Tag",
				"param_name" => "tag",
				"value" => array(
				    "H5 (Default)" => "5",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H4" => "4",
					"H6" => "6",
				),
				"description" => "",
			),

			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Load More Button",
				"param_name" => "post_pagination",
				"value" => array(
					"Disable" => "st1",				
					"Enable" => "st2",
				),
				"description" => "Optional.",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Number of posts to show before load more button.",
				"param_name" => "post_show_before_loadmore",
				"value" => "",
				"description" => __("e.x: 4", 'bauen'),				
				"dependency" => Array('element' => "post_pagination", 'value' => array('st2')),
				"admin_label" => true,
			),
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Load More",
				"param_name" => "load_btn_text_translate",
				"value" => "",
				"description" => __("Translate Option.", 'bauen'),				
				"dependency" => Array('element' => "post_pagination", 'value' => array('st2'))
			),
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Number Of Posts To Show",
				"param_name" => "postcount",
				"value" => "100",
				"description" => esc_html__("Insert number of post show in format: 8", 'bauen'),
				"admin_label" => true,
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Category Name",
				"param_name" => "categoryname",
				"value" => "",
				"description" => esc_html__("(Optional) Insert category name in format: Graphic", 'bauen'),
				"admin_label" => true,
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Speed",
				"param_name" => "projects_speed",
				"value" => "",
				"description" => esc_html__("Please insert carousel speed here. Ex: 1500", 'bauen'),
				"dependency" => Array('element' => "featyretype", 'value' => array('st2'))
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Autoplay",
				"param_name" => "projects_autoplay",
				"value" => array(					
					"Disable" => "false",
					"Enable" => "true",
				),
				"description" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st2'))
			),				
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => esc_attr__('Post Offset', 'bauen'),
				"param_name" => "postoffset",
				"value" => "",
				"description" => esc_attr__('(Optional)Use this field if you need.', 'bauen'),
			),			
		)
) );

// Blog Block
vc_map( array(
		"name" => "Bauen Blog",
		"base" => "wr_vc_blog",
		"category" => 'By Bauen',
		"icon" => "vc_icon-vc-gitem-post-date",
		"allowed_contaibauen_element" => 'vc_row',
		"params" => array(
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Number Of Posts To Show",
				"param_name" => "showpost",
				"value" => "100",
				"description" => __("Insert number of post show in format: 4", 'bauen'),
				"admin_label" => true,
			),									
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Category Name",
				"param_name" => "categoryname",
				"value" => "",
				"description" => __("(Optional) Insert category name in format: Graphic", 'bauen'),
				"admin_label" => true,
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Speed",
				"param_name" => "blog_speed",
				"value" => "",
				"description" => esc_attr__("Please insert carousel speed here. Ex: 1500", 'bauen'),
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Autoplay",
				"param_name" => "blog_autoplay",
				"value" => array(
				    "Disable" => "false",
				    "Enable" => "true",
				),
				"description" => "",
			),			
		)
) );

// Services Block
class WPBakeryShortCode_WR_VC_Section_Services  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Services", "bauen",
        "base" => "wr_vc_section_services",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "vc_icon-vc-gitem-post-title",       
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),							
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Icon Class",
				"param_name" => "icon_class",
				"value" => "",
				"description" => "Use <strong><a href='https://fontawesome.com/v5/' target='_blank'>Fontawesome</a></strong> Icon Class. <br> Ex: far fa-warehouse <br> fas fa-baby-carriage",
				"admin_label" => true,
			),	
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Icon Image",
				"param_name" => "image",
				"value" => "",
				"description" => "If you are using 'Icon Class' then don't use Icon Image.",
				"admin_label" => true,
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Tag",
				"param_name" => "tag",
				"value" => array(
				    "H6 (Default)" => "6",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H4" => "4",
					"H5" => "5",
				),
				"description" => "",
			),	
				array(
				"type" => "textarea_html",
				"holder" => "div",
				"class" => "",
				"heading" => "Content Text",
				"param_name" => "content",
				"value" => "",
			),		
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Number Text",
				"admin_label" => true,
				"param_name" => "title2",
				"value" => ""
			),					
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "URL",
				"param_name" => "link_url",
				"admin_label" => true,
				"value" => "",
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "URL Target",
				"param_name" => "link_target",
				"value" => array(
					"Default" => "",
					"Self" => "_self",
					"Blank" => "_blank",
					"Parent" => "_parent",	
					"Top" => "_top"	
				),
				"description" => "",
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),         
        ),
        
) );

// Process Block
class WPBakeryShortCode_WR_VC_Section_Process  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Process", "bauen",
        "base" => "wr_vc_section_process",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-vc-round-chart",       
        "params" => array(
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Position",
				"param_name" => "df_class",
				"value" => array(
					"Default" => "",
					"First" => "first",
					"Odd" => "odd",
					"Odd MB" => "odd mb-md50",
				),
				"description" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Arrow Style",
				"param_name" => "featyretype",
				"value" => array(
					"Enable" => "st1",
					"Disable" => "st2",
				),
				"description" => ""
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Arrow Type",
				"param_name" => "df_class2",
				"value" => array(
					"Default" => "",
					"To Bottom" => "tobotm",
				),
				"description" => "",
				"dependency" => Array('element' => "featyretype", 'value' => array('st1'))
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Icon Class",
				"param_name" => "icon_class",
				"value" => "",
				"description" => "Use <strong><a href='https://themify.me/themify-icons' target='_blank'>Themify</a></strong> Icon Class. Ex: ti-ruler-pencil <br> <strong><a href='https://fontawesome.com/v5/' target='_blank'>Fontawesome</a></strong> Icon Class. <br> Ex: far fa-warehouse <br> fas fa-baby-carriage","admin_label" => true,				
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => ""
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Tag",
				"param_name" => "tag",
				"value" => array(
				    "H6 (Default)" => "6",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H4" => "4",
					"H5" => "5",
				),
				"description" => "",
			),	
				array(
				"type" => "textarea_html",
				"holder" => "div",
				"class" => "",
				"heading" => "Content",
				"param_name" => "content",
				"value" => "",
			),		
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Number Text",
				"param_name" => "title2",
				"admin_label" => true,
				"value" => ""
			),					
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),         
        ),
        
) );

// Team Member Block
class WPBakeryShortCode_WR_VC_Teamss  extends WPBakeryShortCodesContainer {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Team Member", "bauen",
        "base" => "wr_vc_teamss",
        "as_parent" => array('only' => 'wr_vc_teams'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "vc_icon-vc-media-grid",
        "show_settings_on_create" => true,
        "params" => array(
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Owl Carousel",
				"param_name" => "owl_class",
				"value" => array(
					"Enable" => "owl-carousel",
					"Disable" => "",
				),
				"description" => ""
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Speed",
				"param_name" => "team_speed",
				"value" => "",
				"description" => esc_attr__("Please insert carousel speed here. Ex: 500", 'bauen'),
				"dependency" => Array('element' => "owl_class", 'value' => array('owl-carousel'))
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Autoplay",
				"param_name" => "team_autoplay",
				"value" => array(					
					"Disable" => "false",
					"Enable" => "true",
				),
				"description" => "",
				"dependency" => Array('element' => "owl_class", 'value' => array('owl-carousel'))
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),	
            
        ),
        "js_view" => 'VcColumnView'
) );
class WPBakeryShortCode_WR_VC_Teams  extends WPBakeryShortCodesContainer {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Team Member Iteam", "bauen",
        "base" => "wr_vc_teams",
        "as_parent" => array('only' => 'wr_vc_team'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
		"as_child" => array('only' => 'wr_vc_teamss'), // Use only|except attributes to limit parent (separate multiple values with comma)
        "content_element" => true,
		"category" => esc_attr__('By Bauen', 'bauen'),
		"icon" => "icon-wpb-ui-tab-content",
        "show_settings_on_create" => true,
        "params" => array(							
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Member Image",
				"param_name" => "image",
				"value" => "",
				"admin_label" => true,
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Member Name",
				"param_name" => "title",
				"admin_label" => true,
				"value" => ""
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Member Title Tag",
				"param_name" => "tag",
				"value" => array(
				    "H6 (Default)" => "6",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H4" => "4",
					"H5" => "5",
				),
				"description" => "",
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Designation",
				"param_name" => "title2",
				"admin_label" => true,
				"value" => ""
			),	
				array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Degree",
				"param_name" => "title3",
				"value" => ""
			),		
        ),
        "js_view" => 'VcColumnView'
) );
class WPBakeryShortCode_WR_VC_Team extends WPBakeryShortCode {}
vc_map( array(
        "name" => "Member Social Icon", "bauen",
        "base" => "wr_vc_team",
        "content_element" => true,
		"icon" => "icon-wpb-ui-tab-content",
        "as_child" => array('only' => 'wr_vc_teams'), // Use only|except attributes to limit parent (separate multiple values with comma)
        "params" => array(
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Social Icon",
				"param_name" => "icon_class",
				"value" => "",
				"description" => "Use <strong><a href='https://themify.me/themify-icons' target='_blank'>Themify</a></strong> Icon Class. Ex: ti-facebook <br> <strong><a href='https://fontawesome.com/v5/' target='_blank'>Fontawesome</a></strong> Icon Class. Ex: fab fa-twitter",
				"admin_label" => true,
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Custom URL",
				"param_name" => "link_url",
				"admin_label" => true,
				"value" => "",
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Link Target",
				"param_name" => "link_target",
				"value" => array(
					"Default" => "",
					"Self" => "_self",
					"Blank" => "_blank",
					"Parent" => "_parent",	
					"Top" => "_top"	
				),
				"description" => "",
			),	                
        )
) );

// Testimonials Block
class WPBakeryShortCode_WR_VC_Section_Testimoni  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Testimonial", "bauen",
        "base" => "wr_vc_section_testimoni",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-call-to-action",       
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),							
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Client Image",
				"param_name" => "image",
				"value" => "",
				"admin_label" => true,
			),		
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Client Name",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Client Name Tag",
				"param_name" => "tag",
				"value" => array(
				    "H6 (Default)" => "6",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H4" => "4",
					"H5" => "5",
				),
				"description" => "",
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Designation Text",
				"param_name" => "title2",
				"admin_label" => true,
				"value" => ""
			),		
			array(
				"type" => "textarea_html",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Quote Text",
				"param_name" => "content",
				"value" => "",
				"admin_label" => true,
			),	    	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),         
        ),
        
) );

// Testimonials Block Carousel
class WPBakeryShortCode_WR_VC_Section_Testimonials  extends WPBakeryShortCodesContainer {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Testimonials Carousel", "bauen",
        "base" => "wr_vc_section_testimonials",
        "as_parent" => array('only' => 'wr_vc_section_testimonial'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "vc_icon-vc-gitem-post-excerpt",
        "show_settings_on_create" => true,
        "params" => array(
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Speed",
				"param_name" => "testimonials_speed",
				"value" => "",
				"description" => esc_attr__("Please insert carousel speed here. Ex: 500", 'bauen'),
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Autoplay",
				"param_name" => "testimonials_autoplay",
				"value" => array(
				    "Disable" => "false",
				    "Enable" => "true",
				),
				"description" => "",
			),				
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Animate Effect",
				"param_name" => "animate",
				"value" => array(
					"Disable" => "",
					"Enable" => "yes",
				),
				"description" => "",
			),			
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => ""
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Tag",
				"param_name" => "tag",
				"value" => array(
				    "H4 (Default)" => "4",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H5" => "5",
					"H6" => "6",
				),
				"description" => "",
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),					
            
        ),
        "js_view" => 'VcColumnView'
) );

class WPBakeryShortCode_WR_VC_Section_Testimonial extends WPBakeryShortCode {}
vc_map( array(
        "name" => "Bauen Testimonial Item", "bauen",
        "base" => "wr_vc_section_testimonial",
        "content_element" => true,
		"icon" => "icon-wpb-ui-tab-content",
        "as_child" => array('only' => 'wr_vc_section_testimonials'), // Use only|except attributes to limit parent (separate multiple values with comma)
        "params" => array(		
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Client Image",
				"param_name" => "image",
				"value" => "",
				"admin_label" => true,
			),		
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Client Name",
				"param_name" => "title",
				"admin_label" => true,
				"value" => ""
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Client Name Tag",
				"param_name" => "tag",
				"value" => array(
				    "H6 (Default)" => "6",
					"H1" => "1",
					"H2" => "2",
					"H3" => "3",
					"H4" => "4",
					"H5" => "5",
				),
				"description" => "",
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Designation Text",
				"param_name" => "title2",
				"admin_label" => true,
				"value" => ""
			),		
			array(
				"type" => "textarea_html",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Quote Text",
				"param_name" => "content",
				"value" => "",
				"admin_label" => true,
			),	             
        )
) );

// Accordions Block Carousel
class WPBakeryShortCode_WR_VC_Section_Accords  extends WPBakeryShortCodesContainer {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Accordions", "bauen",
        "base" => "wr_vc_section_accords",
        "as_parent" => array('only' => 'wr_vc_section_accord'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-ui-accordion",
        "show_settings_on_create" => true,
        "params" => array(
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),		
            
        ),
        "js_view" => 'VcColumnView'
) );

class WPBakeryShortCode_WR_VC_Section_Accord extends WPBakeryShortCode {}
vc_map( array(
        "name" => "Bauen Accordion Item", "bauen",
        "base" => "wr_vc_section_accord",
        "content_element" => true,
		"icon" => "icon-wpb-ui-accordion",
        "as_child" => array('only' => 'wr_vc_section_accords'), // Use only|except attributes to limit parent (separate multiple values with comma)
        "params" => array(		
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Tab Style",
				"param_name" => "featyretype",
				"value" => array(
					"Inactive" => "st1",
					"Active" => "st2",
				),
				"description" => ""
			),			
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",
				"description" => "Ex: Modern Architectural Structures",
			),
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Number",
				"param_name" => "title2",
				"admin_label" => true,
				"value" => "",
				"description" => "Ex: 1.",
			),		
			array(
				"type" => "textarea_html",
				"holder" => "div",
				"class" => "",
				"heading" => "Content",
				"param_name" => "content",
				"value" => "",
			),	           
        )
) );

// Listing Block
class WPBakeryShortCode_WR_VC_Section_List  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Listing", "bauen",
        "base" => "wr_vc_section_list",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-toggle-small-expand",       
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "List Text",
				"param_name" => "title",
				"value" => "",
				"description" => "Ex: [span] Project Name : [/span] Cotton House",
				"admin_label" => true,
			),								
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),     
        ),
        
) );

// Pricing Plan Block
class WPBakeryShortCode_WR_VC_Pricings  extends WPBakeryShortCodesContainer {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Pricing Plan", "bauen",
        "base" => "wr_vc_pricings",
        "as_parent" => array('only' => 'wr_vc_pricing'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-ui-tab-content",
        "show_settings_on_create" => true,
        "params" => array(
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Plan Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",
				"description" => "Ex: Basic Plan",
			),
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Price",
				"param_name" => "title2",
				"admin_label" => true,
				"value" => "",
				"description" => "Ex: $30.000",
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Button Name",
				"param_name" => "button_name",
				"admin_label" => true,
				"value" => "",
				"description" => "Ex: Discover",
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Button URL",
				"param_name" => "link_url",
				"admin_label" => true,
				"value" => "",
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Button URL Target",
				"param_name" => "link_target",
				"value" => array(
					"Default" => "",
					"Self" => "_self",
					"Blank" => "_blank",
					"Parent" => "_parent",	
					"Top" => "_top"	
				),
				"description" => "",
			),		
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),
            
        ),
        "js_view" => 'VcColumnView'
) );

class WPBakeryShortCode_WR_VC_Pricing extends WPBakeryShortCode {}
vc_map( array(
        "name" => "Bauen Pricing List", "bauen",
        "base" => "wr_vc_pricing",
        "content_element" => true,
		"icon" => "icon-wpb-ui-tab-content",
        "as_child" => array('only' => 'wr_vc_pricings'), // Use only|except attributes to limit parent (separate multiple values with comma)
        "params" => array(
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "List Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",
				"description" => "Ex: Lifetime support",
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Type",
				"param_name" => "line",
				"value" => array(
					"Check" => "check",
					"Close" => "close unavailable",
				),
				"description" => "",
			),			          
        )
) );

// Partner Block
class WPBakeryShortCode_WR_VC_Section_Partners  extends WPBakeryShortCodesContainer {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Partner", "bauen",
        "base" => "wr_vc_section_partners",
        "as_parent" => array('only' => 'wr_vc_section_partner'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-slideshow",
        "show_settings_on_create" => true,
        "params" => array(
			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Speed",
				"param_name" => "clients_speed",
				"value" => "",
				"description" => esc_attr__("Please insert carousel speed here. Ex: 500", 'bauen'),
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Carousel Autoplay",
				"param_name" => "clients_autoplay",
				"value" => array(
				    "Enable" => "true",
					"Disable" => "false",
				),
				"description" => "",
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),		
            
        ),
        "js_view" => 'VcColumnView'
) );

class WPBakeryShortCode_WR_VC_Section_Partner extends WPBakeryShortCode {}
vc_map( array(
        "name" => "Bauen Partner Item", "bauen",
        "base" => "wr_vc_section_partner",
        "content_element" => true,
		"icon" => "icon-wpb-ui-tab-content",
        "as_child" => array('only' => 'wr_vc_section_partners'), // Use only|except attributes to limit parent (separate multiple values with comma)
        "params" => array(		
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Partner Logo Image",
				"param_name" => "image",
				"value" => "",
				"admin_label" => true,
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Custom URL",
				"param_name" => "link_url",
				"admin_label" => true,
				"value" => "",
			),			
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Link Target",
				"param_name" => "link_target",
				"value" => array(
					"Default" => "",
					"Self" => "_self",
					"Blank" => "_blank",
					"Parent" => "_parent",	
					"Top" => "_top"	
				),
				"description" => "",
			),             
        )
) );

// Contact Info Block
class WPBakeryShortCode_WR_VC_Section_Contact  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Contact Info", "bauen",
        "base" => "wr_vc_section_contact",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-atm",        
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Animate Effect",
				"param_name" => "animate",
				"value" => array(
					"Disable" => "no",
					"Enable" => "yes",
				),
				"description" => "",
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",	
                "description" => __("Ex: Contact Details", 'bauen')				
			),		
			array(
				"type" => "textarea_html",
				"holder" => "div",
				"class" => "",
				"heading" => "Content",
				"param_name" => "content",
				"value" => "",
				"description" => __("(Optiona) Insert content at 'Text Editor' in format: Ex: &lt;p&gt;&lt;b&gt;VAT :&lt;/b&gt; USA002323065B06&lt;/p&gt;", 'bauen')
			),
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Phone Text 1",
				"param_name" => "phone_title1",
				"admin_label" => true,
				"value" => "",	
                "description" => __("Ex: Phone : ", 'bauen')				
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Phone Number 1",
				"param_name" => "phone_title2",
				"value" => "",
				"description" => __("Ex: +1-203-123-0606", 'bauen')	
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Phone Text 2",
				"param_name" => "phone_title3",
				"admin_label" => true,
				"value" => "",	
				"description" => __("Ex: Phone (Office) : ", 'bauen')	
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Phone Number 2",
				"param_name" => "phone_title4",
				"value" => ""
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Mail Text 1",
				"param_name" => "mail_title1",
				"admin_label" => true,
				"value" => "",	
                "description" => __("Ex: Mail : ", 'bauen')				
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Mail Address 1",
				"param_name" => "mail_title2",
				"value" => "",
				"description" => __("Ex: architecture@bauen.com", 'bauen')	
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Mail Text 2",
				"param_name" => "mail_title3",
				"admin_label" => true,
				"value" => "",	
				"description" => __("Ex: Mail (Personal) : ", 'bauen')	
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Mail Address 2",
				"param_name" => "mail_title4",
				"value" => ""
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Address Text 1",
				"param_name" => "address_title1",
				"admin_label" => true,
				"value" => "",	
                "description" => __("Ex: Address : ", 'bauen')				
			),			
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Address Location 1",
				"param_name" => "address_title2",
				"value" => "",
				"description" => __("Ex: 24 King St, Charleston, 29401 USA", 'bauen')	
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Address URL 1",
				"param_name" => "link_url1",
				"admin_label" => true,
				"value" => "",
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Address Text 2",
				"param_name" => "address_title3",
				"admin_label" => true,
				"value" => "",	
				"description" => __("Ex: Address (Office) : ", 'bauen')	
			),			
			array(
				"type" => "textarea",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Address Location 2",
				"param_name" => "address_title4",
				"value" => ""
			),					
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Address URL 2",
				"param_name" => "link_url2",
				"admin_label" => true,
				"value" => "",
			),				
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "URL Target",
				"param_name" => "link_target",
				"value" => array(
					"Default" => "",
					"Self" => "_self",
					"Blank" => "_blank",
					"Parent" => "_parent",	
					"Top" => "_top"	
				),
				"description" => "",
			),					
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),
            
        ),
        
) );

// Contact Form Block
class WPBakeryShortCode_WR_VC_Section_Cform  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Contact Form", "bauen",
        "base" => "wr_vc_section_cform",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-contactform7",        
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Animate Effect",
				"param_name" => "animate",
				"value" => array(
					"Disable" => "",
					"Enable" => "yes",
				),
				"description" => "",
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Title Text",
				"param_name" => "title",
				"admin_label" => true,
				"value" => "",	
                "description" => __("Ex: Contact Form", 'bauen')				
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Contact Form ID",
				"param_name" => "contactfromid",
				"value" => "",
				"description" => __("Please insert contact form id number in format: 5", 'bauen'),
				"admin_label" => true,
			),					
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),	
            
        ),
        
) );

// Google Map Block
class WPBakeryShortCode_WR_VC_Section_Gmap  extends WPBakeryShortCode {}
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
        "name" => "Bauen Google Map", "bauen",
        "base" => "wr_vc_section_gmap",
        "content_element" => true,
		"category" => 'By Bauen',
		"icon" => "icon-wpb-map-pin",        
        "params" => array(

			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "CSS Class",
				"param_name" => "class",
				"value" => ""
			),	
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Animate Effect",
				"param_name" => "animate",
				"value" => array(
					"Disable" => "",
					"Enable" => "yes",
				),
				"description" => "",
			),	
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Latitude, Longitude",
				"param_name" => "latitude",
				"value" => "",
				"description" => "Ex: 48.859003, 2.345275",	
				"admin_label" => true,				
			),			
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Address",
				"param_name" => "address",
				"value" => "",
				"description" => "Ex: 27th Brooklyn New York, NY 10065",	
				"admin_label" => true,
			),			
			array(
				"type" => "attach_image",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Upload Location Marker",
				"param_name" => "image",
				"description" => "",
				"admin_label" => true,
			),
			array(
				"type" => "dropdown",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Color Scheme",
				"param_name" => "map_url",
				"value" => array(
					"Default" => "st1",
					"Light" => "st2",
					"Dark" => "st3",	
					
				),
				"description" => "",
			),				
			array(
				"type" => "textfield",
				"holder" => "hidden",
				"class" => "",
				"heading" => "Margin",
				"param_name" => "margin",
				"value" => "",
				"description" => __("Please insert margin in format: 0px 0px 0px 0px", 'bauen')
			),	
            
        ),
        
) );


?>