<?php


class tdb_config {

    static $js_files_vue_modals = array (
        'tdbApi'                            => '/assets/js/tdbApi.js',
        'tdbTemplateSelector'               => '/assets/js/tdbSelector.js',
        'tdbVue'                            => '/assets/js/vue/external/vue.js',
        'tdbVueColor'                       => '/assets/js/vue/external/vue-color.min.js',
        'tdbVueRouter'                      => '/assets/js/vue/external/vue-router.js',
        'tdbError'                          => '/assets/js/vue/error.js',
        'tdbErrorManager'                   => '/assets/js/vue/errorManager.js',
        'tdbCache'                          => '/assets/js/vue/cache.js',
        'tdbIndex'                          => '/assets/js/vue/index.js',
        'tdbIndexManager'                   => '/assets/js/vue/indexManager.js',
        'tdbSingle'                         => '/assets/js/vue/single.js',
        'tdbInstall'                        => '/assets/js/vue/install.js',
        'tdbAdd'                            => '/assets/js/vue/add.js',
        'tdbManager'                        => '/assets/js/vue/manager.js',
    );

    static $js_files_vue_modals_last = array (
        'tdbMain'                           => '/assets/js/vue/load.js',
        'tdbRouter'                         => '/assets/js/vue/router/router.js',
        'tdbRouterManager'                  => '/assets/js/vue/router/routerManager.js',
    );

    // load the rest of the non vue js
	static $js_files_wp_admin = array(
		'tdbApi'                            => '/assets/js/tdbApi.js',
		'tdbWpAdminMain'                    => '/assets/js/tdbWpAdminMain.js',
		'tdbCloudTemplatesMain'             => '/assets/js/admin/cloud-templates.js',
	);

    static $js_files_for_front = array (
        'tdFrontEnd'                        => '/assets/js/tdFrontEnd.js',
    );

    static $js_files_for_front_minify_only = array(
        'tdbMenu'                           => '/assets/js/tdbMenu.js', //  add the menu js
        'tdbSearch'                         => '/assets/js/tdbSearch.js', //  add the search js
        'tdbLocationFinder'                 => '/assets/js/tdbLocationFinder.js', //  add location finder js
        'tdbLocationDisplay'                => '/assets/js/tdbLocationDisplay.js', //  add location display js
        'tdbFormTaxonomies'                 => '/assets/js/tdbFormTaxonomies.js', //  add form taxonomies js
        'tdbFormFileUpload'                 => '/assets/js/tdbFormFileUpload.js', //  add form file upload js
        'tdbFormGallery'                    => '/assets/js/tdbFormGallery.js', //  add form file upload js
        'tdbPostsList'                      => '/assets/js/tdbPostsList.js', //  add posts list js
        'tdbModal'                          => '/assets/js/tdbModal.js', //  add modal js
        'tdbFilters'                        => '/assets/js/tdbFilters.js', //  add tdb filters js
        'tdbFiltersLoop'                    => '/assets/js/tdbFiltersLoop.js', //  add tdb filters loop js
        'tdbFiltersList'                    => '/assets/js/tdbFiltersList.js', //  add tdb filters list js
        'tdbFiltersDropdown'                => '/assets/js/tdbFiltersDropdown.js', //  add tdb filters dropdowns type js
        'tdbReviewsList'                    => '/assets/js/tdbReviewsList.js', //  add tdb reviews list js
        'tdbCustomForms'                    => '/assets/js/tdbCustomForms.js', //  add tdb custom forms js
        'tdbTOC'                            => '/assets/js/tdbTOC.js', //  add tdb table of contents js
        'tdReadingProgressBar'              => '/assets/js/tdReadingProgressBar.js',
        'tdSelect2'                         => '/assets/js/select2.js',
        'tdbFavourites'                     => '/assets/js/tdbFavourites.js', //  add tdb favourites
    );

	// Vue files for theme panel
	static $js_files_vue_theme_panel = array(
		'tdbVue'                            => '/assets/js/vue/external/vue.js',
		'tdbPanelEventBus'                  => '/assets/js/vue/panel/tdbPanelEventBus.js',
		'tdbPanelVueAjax'                   => '/assets/js/vue/panel/tdbPanelVueAjax.js',
		'tdbPanelVueComponents'             => '/assets/js/vue/panel/tdbPanelVueComponents.js'
	);

    // js for autoload(infinite) posts ajax calls
    static $js_posts_autoload = array(
        'tdbAutoload'                       => '/assets/js/tdbAutoload.js'
    );
	// js for autoload(infinite) posts ajax calls
	static $js_posts_autoload_ajax = array(
		'tdbAutoloadAjax'                   => '/assets/js/tdbAutoloadAjax.js'
	);

    // vue js files for cloud templates
    static $js_files_vue_cloud_templates = array(
	    'tdbModal'                          => '/assets/js/vue/cloud_templates/modal.js',
	    'tdbCloudTemplatesError'            => '/assets/js/vue/cloud_templates/error.js',
	    'tdbCloudTemplatesCard'             => '/assets/js/vue/cloud_templates/templates-card.js',
	    'tdbCloudCptTemplatesCard'          => '/assets/js/vue/cloud_templates/cpt-templates-card.js',
	    'tdbCloudModulesTemplatesCard'      => '/assets/js/vue/cloud_templates/modules-templates-card.js',
	    'tdbCloudTemplates'                 => '/assets/js/vue/cloud_templates/templates.js',
	    'tdbCloudShopTemplates'             => '/assets/js/vue/cloud_templates/templates-shop.js',
	    'tdbCloudTemplatesTrash'            => '/assets/js/vue/cloud_templates/templates-trash.js',
	    'tdbCloudTemplatesCPT'              => '/assets/js/vue/cloud_templates/cpt.js',
	    'tdbCloudTemplatesModules'          => '/assets/js/vue/cloud_templates/modules.js',
	    'tdbCloudTemplatesIndex'            => '/assets/js/vue/cloud_templates/index.js',
	    'tdbCloudTemplatesRouter'           => '/assets/js/vue/cloud_templates/router/router.js',
    );

    static function on_tdc_loaded() {

        self::register_styles();

        // add wc frontend hooks on td composer
        if ( td_global::$is_woocommerce_installed && !defined('TD_WOO') ) {
            if (tdc_state::is_live_editor_ajax() || tdc_state::is_live_editor_iframe()) {
                wc()->frontend_includes();

                add_action('woocommerce_init', function () {
                    wc_load_cart();
                });
            }
        }


        /**
         * Modules
         */

        td_api_module::add( 'tdb_module_mm',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_mm.php',
                'text'                         => 'Mega Menu Module',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 25,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td_module_wrap td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_search',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_search.php',
                'text'                         => 'Header Search Module',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 8,
                'excerpt_content'              => 25,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td_module_wrap td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_related',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_related.php',
                'text'                         => 'Single Post Module Related',
                'img'                          => '',
                'used_on_blocks'               => array( 'tdb_module_related' ),
                'excerpt_title'                => 25,
                'excerpt_content'              => 25,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td_module_wrap td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_related_sample',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_related_sample.php',
                'text'                         => 'Single Post Module Related Sample',
                'img'                          => '',
                'used_on_blocks'               => array( 'tdb_module_related' ),
                'excerpt_title'                => 25,
                'excerpt_content'              => 25,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td_module_wrap td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_loop',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_loop.php',
                'text'                         => 'Loop Module',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 25,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td_module_wrap td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_loop_2',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_loop_2.php',
                'text'                         => 'Loop Module 2',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 25,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td_module_wrap td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_cat_grid_1',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_cat_grid_1.php',
                'text'                         => 'Category Grid Module 1',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 0,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_cat_grid_2',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_cat_grid_2.php',
                'text'                         => 'Category Grid Module 2',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 0,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_cat_grid_3',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_cat_grid_3.php',
                'text'                         => 'Category Grid Module 3',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 0,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_cat_grid_1_empty',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_cat_grid_1_empty.php',
                'text'                         => 'Category Grid Module 1 Empty',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 0,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_cat_grid_2_empty',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_cat_grid_2_empty.php',
                'text'                         => 'Category Grid Module 2 Empty',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 0,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

        td_api_module::add( 'tdb_module_cat_grid_3_empty',
            array(
                'file'                         => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_cat_grid_3_empty.php',
                'text'                         => 'Category Grid Module 3 Empty',
                'img'                          => '',
                'used_on_blocks'               => array(),
                'excerpt_title'                => 25,
                'excerpt_content'              => 0,
                'enabled_excerpt_in_panel'     => false,
                'enabled_on_more_articles_box' => false,
                'enabled_on_loops'             => false,
                'uses_columns'                 => false,
                // if the module uses columns on the page template + loop
                'category_label'               => false,
                'class'                        => 'td-animation-stack',
                'group'                        => ''
                // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );

	    td_api_module::add( 'tdb_module_template',
			array(
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/modules/tdb_module_template.php',
				'text'                         => 'Template Module',
				'img'                          => '',
				'used_on_blocks'               => array(),
				'excerpt_title'                => 25,
				'excerpt_content'              => 25,
				'enabled_excerpt_in_panel'     => false,
				'enabled_on_more_articles_box' => false,
				'enabled_on_loops'             => false,
				'uses_columns'                 => false,
				'category_label'               => false,
				'class'                        => 'tdb_module_template td_module_wrap td-animation-stack',
				'group'                        => ''
			)
		);

        /**
         * Blocks
         */

        /**
         * *************************************************************************************************************
         * Single Post Elements
         * *************************************************************************************************************
         */

	    td_api_block::add('tdb_single_categories',
		    array(
			    'map_in_td_composer' => true,
			    "name" => 'Single Post Categories',
			    "base" => "tdb_single_categories",
			    'tdc_category' => 'Single post',
			    'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_categories.php',
                'tdc_style_params' => array(
                    'add_text',
                    'tdicon',
                    'el_class'
                ),
			    'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
						    array(
                                "tdc_preset_name" => "Default - Small color tags",
						    ),
                            array(
                                "tdc_preset_name" => "Default - Small color tags",
                            ),
						    array(
							    "tdc_preset_name" => "Big color tags with border",
							    "cat_padding" => "9px 12px 8px",
							    "f_tags_font_size" => "14",
							    "f_tags_font_transform" => "uppercase",
							    "f_tags_font_weight" => "600",
							    "cat_style" => "tdb-cat-style2",
							    "cat_space" => "0 8px 8px 0",
							    "cat_border" => "2",
						    ),
						    array(
							    'tdc_preset_name' => 'Plain text with icons',
							    "cat_style" => "tdb-cat-style2",
							    "f_tags_font_size" => "12",
							    "f_tags_font_style" => "",
							    "f_tags_font_weight" => "600",
							    "f_tags_font_transform" => "",
							    "cat_border" => "0",
							    "cat_order" => "",
							    "cat_limit" => "5",
							    "cat_padding" => "10px 0",
							    "tdicon" => "td-icon-flickr",
							    "bg_color" => "rgba(0,0,0,0)",
							    "text_color" => "#000000",
							    "cat_space" => "0",
							    "icon_size" => "7",
							    "icon_space" => "13",
							    "f_txt_font_size" => "12",
							    "f_tags_font_family" => "",
							    "f_txt_font_family" => "",
							    "f_txt_font_weight" => "600",
							    "i_color" => "rgba(30,115,190,0.56)",
							    "text_hover_color" => "#1e73be",
							    "add_text" => base64_encode('Categories:'),
						    ),
					    )
				    )
			    ),
			    "params" => array_merge(
				    array(
					    array(
						    "param_name" => "cat_order",
						    "type" => "dropdown",
						    "value" => array(
							    'Show parent category first' => '',
							    'Alphabetically' => 'alphabetically',
                                'Primary cat first' => 'primary',

                            ),
						    "heading" => 'Tags order',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-extrabig",
					    ),
					    array(
						    "param_name" => "cat_limit",
						    "type" => "textfield",
						    "value" => '30',
						    "heading" => 'Tags limit',
						    "description" => "",
						    "placeholder" => "30",
						    "holder" => "div",
						    "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_tag_limit.png"
					    ),
					    array(
						    'param_name' => 'add_text',
						    'type' => 'textarea_raw_html',
						    'value' => '',
						    'heading' => 'Additional text',
						    'description' => '',
						    'class' => 'tdc-textarea-xxsmall',
					    ),
					    array(
						    'param_name' => 'add_space',
						    'type' => 'range-responsive',
						    'value' => '10',
						    'heading' => 'Text space',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '1',
						    'range_max' => '30',
						    'range_step' => '1',
					    ),
					    array(
						    "param_name" => "content_align_horizontal",
						    "type" => "dropdown",
						    "value" => array(
							    'Left' => 'content-horiz-left',
							    'Center' => 'content-horiz-center',
							    'Right' => 'content-horiz-right'
						    ),
						    "heading" => 'Horizontal align',
						    "description" => "",
						    "holder" => "div",
						    'tdc_dropdown_images' => true,
						    "class" => "tdc-visual-selector tdc-add-class",
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Style',
						    "value"      => "",
						    "class"      => "",
					    ),
					    array(
						    "param_name" => "cat_style",
						    "type" => "dropdown",
						    "value" => array(
							    'Default' => '',
							    'Solid' => 'tdb-cat-style2',
							    'Rainbow' => 'tdb-cat-style3',
						    ),
						    "heading" => 'Style',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-big",
					    ),
					    array(
						    "param_name"  => "cat_padding",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Tags padding',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "3px 6px 4px 6px",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_padding.png"
					    ),
					    array(
						    "param_name"  => "cat_space",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Tags spacing',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "0 5px 5px 0",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_space.png"
					    ),
					    array(
						    'param_name' => 'cat_radius',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Border radius',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '100',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_radius.png"
					    ),
					    array(
						    'param_name' => 'cat_border',
						    'type' => 'range-responsive',
						    'value' => '1',
						    'heading' => 'Border size',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '10',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_width.png"
					    ),
					    array(
						    'param_name' => 'cat_skew',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Skew',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-40',
						    'range_max' => '40',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_skew.png"
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    'param_name' => 'tdicon',
						    'type' => 'icon',
						    'heading' => 'Icon separator',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_separator_icon.png"
					    ),
					    array(
						    'param_name' => 'icon_size',
						    'type' => 'range-responsive',
						    'value' => '14',
						    'heading' => 'Icon size',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '1',
						    'range_max' => '30',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_size.png"
					    ),
					    array(
						    'param_name' => 'icon_space',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon space',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '30',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_space.png"
					    ),
					    array(
						    'param_name' => 'icon_align',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon align',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-10',
						    'range_max' => '10',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_alignment.png"
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    "param_name" => "bg_color",
						    "type" => "gradient",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Background color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_background_color.png"
					    ),
                        array(
                            "param_name" => "bg_hover_color",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "value" => '',
                            "description" => '',
                        ),
					    array(
						    "param_name" => "text_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Text color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_text_color.png"
					    ),
                        array(
                            "param_name" => "text_hover_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "value" => '',
                            "description" => '',
                        ),
					    array(
						    "param_name" => "border_color",
						    "type" => "gradient",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Border color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_color.png"
					    ),
                        array(
                            "param_name" => "border_hover_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Border hover color',
                            "value" => '',
                            "description" => '',
                        ),
					    array(
						    "param_name" => "txt_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "",
						    "heading" => 'Additional text color',
						    "value" => '',
						    "description" => '',
					    ),
					    array(
						    "param_name" => "i_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "",
						    "heading" => 'Icon color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_color.png"
					    ),
					    array(
						    "param_name" => "separator",
						    "type" => "horizontal_separator",
						    "value" => "",
						    "class" => "tdc-separator-small"
					    ),
				    ),

				    td_config_helper::get_map_block_font_array( 'f_tags', true, 'Tags' ),
				    td_config_helper::get_map_block_font_array( 'f_txt', false, 'Additional text' ),

                    self::get_block_style()
			    )
		    )
	    );

	    td_api_block::add('tdb_single_taxonomies',
		    array(
			    'map_in_td_composer' => true,
			    "name" => 'Single Post Taxonomies',
			    "base" => "tdb_single_taxonomies",
			    'tdc_category' => 'Single post',
			    'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/cpt/tdb_single_taxonomies.php',
                'tdc_style_params' => array(
                    'taxonomy',
                    'cat_order',
                    'cat_limit',
                    'add_text',
                    'cf_enabled',
                    'tdicon',
                    'el_class'
                ),
			    'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
						    array(
                                "tdc_preset_name" => "Default - Small color tags",
						    ),
                            array(
                                "tdc_preset_name" => "Default - Small color tags",
                            ),
						    array(
							    "tdc_preset_name" => "Big color tags with border",
							    "cat_padding" => "9px 12px 8px",
							    "f_tags_font_size" => "14",
							    "f_tags_font_transform" => "uppercase",
							    "f_tags_font_weight" => "600",
							    "cat_style" => "tdb-cat-style2",
							    "cat_space" => "0 8px 8px 0",
							    "cat_border" => "2",
						    ),
						    array(
							    'tdc_preset_name' => 'Plain text with icons',
							    "cat_style" => "tdb-cat-style2",
							    "f_tags_font_size" => "12",
							    "f_tags_font_style" => "",
							    "f_tags_font_weight" => "600",
							    "f_tags_font_transform" => "",
							    "cat_border" => "0",
							    "cat_order" => "",
							    "cat_limit" => "5",
							    "cat_padding" => "10px 0",
							    "tdicon" => "td-icon-flickr",
							    "bg_color" => "rgba(0,0,0,0)",
							    "text_color" => "#000000",
							    "cat_space" => "0",
							    "icon_size" => "7",
							    "icon_space" => "13",
							    "f_txt_font_size" => "12",
							    "f_tags_font_family" => "",
							    "f_txt_font_family" => "",
							    "f_txt_font_weight" => "600",
							    "i_color" => "rgba(30,115,190,0.56)",
							    "text_hover_color" => "#1e73be",
							    "add_text" => base64_encode('Categories:'),
						    ),
					    )
				    )
			    ),
			    "params" => array_merge(
				    array(
				    	array(
						    "param_name" => "taxonomy",
						    "type" => "textfield",
						    "value" => '',
						    "heading" => 'Taxonomies',
						    "description" => "Show terms from multiple taxonomies. Just add the taxonomies separated by comma (tax1, tax2, tax3).",
						    "holder" => "div",
						    "class" => "tdc-textfield-extrabig",
					    ),
					    array(
						    "param_name" => "cat_order",
						    "type" => "dropdown",
						    "value" => array(
							    'Show parent category first' => '',
							    'Alphabetically' => 'alphabetically',
							    'Primary term first' => 'primary',
						    ),
						    "heading" => 'Tags order',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-extrabig",
					    ),
					    array(
						    "param_name" => "cat_limit",
						    "type" => "textfield",
						    "value" => '30',
						    "heading" => 'Tags limit',
						    "description" => "",
						    "placeholder" => "30",
						    "holder" => "div",
						    "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_tag_limit.png"
					    ),

					    array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Additional text',
						    "value"      => "",
						    "class"      => "",
					    ),
					    array(
						    'param_name' => 'add_text',
						    'type' => 'textarea_raw_html',
						    'value' => '',
						    'heading' => 'Additional text',
						    'description' => '',
						    'class' => 'tdc-textarea-xxsmall',
					    ),
					    array(
						    'param_name' => 'add_space',
						    'type' => 'range-responsive',
						    'value' => '10',
						    'heading' => 'Text space',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '1',
						    'range_max' => '30',
						    'range_step' => '1',
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Style',
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    "param_name" => "txt_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "",
						    "heading" => 'Additional text color',
						    "value" => '',
						    "description" => '',
					    ),
					    array(
						    "param_name" => "separator",
						    "type" => "horizontal_separator",
						    "value" => "",
						    "class" => "tdc-separator-small"
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Additional text' ),

                    array(
					    array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Tags',
						    "value"      => "",
						    "class"      => "",
					    ),
					    array(
						    "param_name" => "display",
						    "type" => "dropdown",
						    "value" => array(
							    'Inline' => '',
							    'Columns' => 'columns',
						    ),
						    "heading" => 'Display',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-big",
                            "toggle_enable_params" => "display",
					    ),
					    array(
						    "param_name" => "columns",
						    "type" => "dropdown-responsive",
						    "value" => array(
							    '1' => '100%',
							    '2' => '50%',
							    '3' => '33.3333%',
							    '4' => '25%',
							    '5' => '20%',
							    '6' => '16.6666%',
							    '7' => '14.2857%',
							    '8' => '12.5%',
							    '9' => '11.1111%',
							    '10' => '10%',
						    ),
						    "heading" => 'Columns count',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-big",
                            "toggle_enabled_by" => "display--columns",
					    ),
					    array(
						    "param_name"  => "col_gap",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Columns gap',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "0",
                            "toggle_enabled_by" => "display--columns",
					    ),
					    array(
						    "param_name"  => "col_bot_space",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Columns bottom',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "0",
                            "toggle_enabled_by" => "display--columns",
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
						    "param_name" => "content_align_horizontal",
						    "type" => "dropdown-responsive",
						    "value" => array(
							    'Left' => 'content-horiz-left',
							    'Center' => 'content-horiz-center',
							    'Right' => 'content-horiz-right'
						    ),
						    "heading" => 'Horizontal align',
						    "description" => "",
						    "holder" => "div",
						    'tdc_dropdown_images' => true,
						    "class" => "tdc-visual-selector tdc-add-class",
					    ),
                        array(
                            "param_name" => "content_align_vertical",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Top' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Bottom' => 'content-vert-bottom'
                            ),
                            "heading" => 'Vertical align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    "param_name"  => "cat_padding",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Tags padding',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "3px 6px 4px 6px",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_padding.png"
					    ),
					    array(
						    "param_name"  => "cat_space",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Tags spacing',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "0 5px 5px 0",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_space.png"
					    ),
					    array(
						    'param_name' => 'cat_border',
						    'type' => 'range-responsive',
						    'value' => '1',
						    'heading' => 'Border size',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '10',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_width.png"
					    ),
					    array(
						    'param_name' => 'cat_radius',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Border radius',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '100',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_radius.png"
					    ),
					    array(
						    'param_name' => 'cat_skew',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Skew',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-40',
						    'range_max' => '40',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_skew.png"
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    "param_name" => "cat_style",
						    "type" => "dropdown",
						    "value" => array(
							    'Default' => '',
							    'Solid' => 'tdb-cat-style2',
							    'Rainbow' => 'tdb-cat-style3',
						    ),
						    "heading" => 'Style',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-big",
					    ),
					    array(
						    "param_name" => "bg_color",
						    "type" => "gradient",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Background color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_background_color.png"
					    ),
                        array(
                            "param_name" => "bg_hover_color",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "value" => '',
                            "description" => '',
                        ),
					    array(
						    "param_name" => "text_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Text color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_text_color.png"
					    ),
                        array(
                            "param_name" => "text_hover_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "value" => '',
                            "description" => '',
                        ),
					    array(
						    "param_name" => "border_color",
						    "type" => "gradient",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Border color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_color.png"
					    ),
                        array(
                            "param_name" => "border_hover_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Border hover color',
                            "value" => '',
                            "description" => '',
                        ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_tags', true, 'Tags' ),

                    array(
					    array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Terms images',
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
	                    array(
		                    "param_name" => "image_enabled",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable terms images',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
                            "toggle_enable_params" => "image_enabled",
	                    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
                            "toggle_enabled_by" => "image_enabled",
					    ),
                        array(
                            "param_name" => "image_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Size',
                            "description" => "",
                            "placeholder" => '20',
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "toggle_enabled_by" => "image_enabled",
                        ),
                        array(
                            "param_name" => "image_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Space',
                            "description" => "",
                            "placeholder" => '10',
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "toggle_enabled_by" => "image_enabled",
                        ),
					    array(
						    'param_name' => 'image_vert_align',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Vertical align',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-30',
						    'range_max' => '30',
						    'range_step' => '1',
                            "toggle_enabled_by" => "image_enabled",
					    ),

					    array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Custom fields',
						    "value"      => "",
						    "class"      => "tdc-separator-small" . ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
					    ),
	                    array(
		                    "param_name" => "cf_enabled",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable custom fields',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
                            "toggle_enable_params" => "cf_enable",
	                    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small" . ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
                            "toggle_enabled_by" => "cf_enable",
					    ),
                        array(
                            "param_name" => "cf_gap",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Gap',
                            "description" => "",
                            "placeholder" => '12',
                            "holder" => "div",
                            "class" => "tdc-textfield-small" . ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
                            "toggle_enabled_by" => "cf_enable",
                        ),
                        array(
                            "param_name" => "cf_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Fields bottom space',
                            "description" => "",
                            "placeholder" => '6',
                            "holder" => "div",
                            "class" => "tdc-textfield-small" . ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
                            "toggle_enabled_by" => "cf_enable",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small" . ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
                            "toggle_enabled_by" => "cf_enable",
					    ),
					    array(
						    "param_name" => "cf_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "tdc-colorpicker-double-a" . ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
						    "heading" => 'Text color',
						    "value" => '',
						    "description" => '',
                            "toggle_enabled_by" => "cf_enable",
					    ),
					    array(
						    "param_name" => "cf_color_h",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "tdc-colorpicker-double-b" . ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ),
						    "heading" => 'Text hover color',
						    "value" => '',
						    "description" => '',
                            "toggle_enabled_by" => "cf_enable",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_cf', true, 'Custom field text', '', '', ( !class_exists( 'ACF' ) ? ' tdc-hidden' : '' ), '', '', 'cf_enable' ),

                    array(
					    array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Icon separator',
						    "value"      => "",
						    "class"      => "tdc-separator-small",
                            "toggle_enabled_by" => "display--",
					    ),
					    array(
						    'param_name' => 'tdicon',
						    'type' => 'icon',
						    'heading' => 'Icon separator',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_separator_icon.png",
                            "toggle_enabled_by" => "display--",
					    ),
					    array(
						    'param_name' => 'icon_size',
						    'type' => 'range-responsive',
						    'value' => '14',
						    'heading' => 'Icon size',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '1',
						    'range_max' => '30',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_size.png",
                            "toggle_enabled_by" => "display--",
					    ),
					    array(
						    'param_name' => 'icon_space',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon space',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '30',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_space.png",
                            "toggle_enabled_by" => "display--",
					    ),
					    array(
						    'param_name' => 'icon_align',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon align',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-100',
						    'range_max' => '100',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_alignment.png",
                            "toggle_enabled_by" => "display--",
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
                            "toggle_enabled_by" => "display--",
					    ),
					    array(
						    "param_name" => "i_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "",
						    "heading" => 'Icon color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_icon_color.png",
                            "toggle_enabled_by" => "display--",
					    ),
				    ),

                    self::get_block_style()
			    )
		    )
	    );

        /*td_api_block::add('tdb_single_title',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Title',
                "base" => "tdb_single_title",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_title.php',
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H1 - Default' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line width',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line height',
                            "description" => "",
                            "placeholder" => '2',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'line_space',
                            "value" => '',
                            "heading" => 'Line space',
                            "class" => 'tdc-textfield-small',
                            "description" => '',
                            "placeholder" => '50',
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '40',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-100',
                            'range_max' => '100',
                            'range_step' => '10',
                        ),
                        array(
                            "param_name" => "line_position",
                            "type" => "dropdown",
                            "value" => array(
                                'Below text' => '',
                                'Above text' => 'above',
                            ),
                            "heading" => 'Line position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Title color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "line_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Line color",
                            "value" => "",
                            "class" => "",
                        ),
	                    array(
		                    "param_name" => "separator",
		                    "type" => "horizontal_separator",
		                    "value" => "",
		                    "class" => ""
	                    ),
	                    array(
		                    "type"        => "gradient",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'Title background',
		                    "param_name"  => "style_bg",
		                    "value"       => '',
		                    "description" => '',
	                    ),
	                    array(
		                    "param_name" => "style_bg_space",
		                    "type" => "textfield",
		                    "value" => '',
		                    "heading" => 'Title background space',
		                    "description" => "",
		                    "placeholder" => "5px 16px",
		                    "holder" => "div",
		                    "class" => "tdc-textfield-big"
	                    ),
	                    array(
		                    "param_name" => "separator",
		                    "type" => "horizontal_separator",
		                    "value" => "",
		                    "class" => ""
	                    ),
	                    array(
		                    "param_name" => "first_letter",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Big first letter',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => ""
	                    ),
	                    array(
		                    'type' => 'range-responsive',
		                    'param_name' => 'fl_align',
		                    'value' => '0',
		                    'heading' => 'V. alignment',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'range_min' => '-50',
		                    'range_max' => '50',
		                    'range_step' => '1',
	                    ),
	                    array(
		                    "param_name" => "fl_color",
		                    "holder" => "div",
		                    "type" => "colorpicker",
		                    'heading' => "Letter color",
		                    "value" => "",
		                    "class" => "",
	                    ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    td_config_helper::get_map_block_font_array( 'f_letter', false, 'Big first letter' ),
                    array(
                        array (
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    )
                )
            )

        );*/

        td_api_block::add('tdb_single_subtitle',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Subtitle',
                "base" => "tdb_single_subtitle",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_subtitle.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'p - Default' => 'p',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/post_subtitle_horizontal_alignment.png"
                        ),
                        array(
                            "param_name" => "sub_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Subtitle color",
                            "value" => "",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_subtitle_color.png"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_sub', true, 'Subtitle text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_date',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Date',
                "base" => "tdb_single_date",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_date.php',
                'tdc_style_params' => array(
                    'additional_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_inline.png"
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_align_right.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
					    array(
						    "param_name" => "format",
						    "type" => "dropdown",
						    "value" => array(
							    'From WordPress settings' => '',
                                'Time ago' => 'time_ago',
							    'Custom format' => 'custom',
						    ),
						    "heading" => 'Date format',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-extrabig",
                            "toggle_enable_params" => "format",
					    ),
	                    array(
		                    "param_name" => "additional_text",
		                    "type" => "textfield",
		                    "value" => 'ago',
		                    "heading" => 'Time ago text',
		                    "description" => "",
		                    "placeholder" => "",
		                    "holder" => "div",
		                    "class" => "tdc-textfield-big",
                            "toggle_enabled_by" => "format--time_ago"
	                    ),
                        array(
                            "param_name" => "additional_text_before",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display time ago text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_time_ago_before.png",
                            "toggle_enabled_by" => "format--time_ago"
                        ),
	                    array(
		                    "param_name" => "custom_format",
		                    "type" => "textfield",
		                    "value" => '',
		                    "heading" => 'Custom format',
		                    "description" => "",
		                    "placeholder" => "F j, Y",
		                    "holder" => "div",
		                    "class" => "tdc-textfield-big",
                            "toggle_enabled_by" => "format--custom"
	                    ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon.png"
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon size',
                            "description" => "",
                            "placeholder" => "14",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon_size.png"
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon space',
                            "description" => "",
                            "placeholder" => "5",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon_space.png"
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon_align.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_text_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_text_color.png"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_date', true, 'Date text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_modified_date',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Modified Date',
                "base" => "tdb_single_modified_date",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_modified_date.php',
                'tdc_style_params' => array(
                    'additional_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
					    array(
						    "param_name" => "format",
						    "type" => "dropdown",
						    "value" => array(
							    'From WordPress settings' => '',
                                'Time ago' => 'time_ago',
							    'Custom format' => 'custom',
						    ),
						    "heading" => 'Date format',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-extrabig",
                            "toggle_enable_params" => "format",
					    ),
                        array(
                            "param_name" => "extra_text",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago text',
                            "description" => "Appears only when time ago is enable",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "toggle_enabled_by" => "format--time_ago"
                        ),
                        array(
                            "param_name" => "hide_date",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Hide modified date after one week',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enabled_by" => "format--time_ago"
                        ),
	                    array(
		                    "param_name" => "custom_format",
		                    "type" => "textfield",
		                    "value" => '',
		                    "heading" => 'Custom format',
		                    "description" => "",
		                    "placeholder" => "F j, Y",
		                    "holder" => "div",
		                    "class" => "tdc-textfield-big",
                            "toggle_enabled_by" => "format--custom"
	                    ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Additional text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "additional_text",
                            "type" => "textfield",
                            "value" => 'Modified date:',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "additional_text_after",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text after the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon size',
                            "description" => "",
                            "placeholder" => "14",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon space',
                            "description" => "",
                            "placeholder" => "5",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "additional_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_date', true, 'Date text' ),
                    td_config_helper::get_map_block_font_array( 'f_additional', false, 'Additional text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_age',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Publish Age',
                "base" => "tdb_single_age",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_age.php',
                'tdc_style_params' => array(
                    'additional_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "hide",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Hide when age is newer/older than',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "hide"
                        ),
                        array(
                            "param_name" => "hide_cond",
                            "type" => "dropdown",
                            "value" => array(
                                'Newer than' => '',
                                'Older than' => 'older',
                            ),
                            "heading" => 'Hide when age is',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "toggle_enabled_by" => "hide"
                        ),
	                    array(
		                    "param_name" => "hide_cond_val",
		                    "type" => "textfield",
		                    "value" => '',
		                    "heading" => 'Number of days',
		                    "description" => "",
		                    "placeholder" => "7",
		                    "holder" => "div",
		                    "class" => "tdc-textfield-small",
                            "toggle_enabled_by" => "hide"
	                    ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_inline.png"
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_align_right.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Additional text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
	                    array(
		                    "param_name" => "additional_text",
		                    "type" => "textfield",
		                    "value" => 'ago',
		                    "heading" => 'Additional text',
		                    "description" => "",
		                    "placeholder" => "",
		                    "holder" => "div",
		                    "class" => "tdc-textfield-big"
	                    ),
                        array(
                            "param_name" => "additional_text_before",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_time_ago_before.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon.png"
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon size',
                            "description" => "",
                            "placeholder" => "14",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon_size.png"
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon space',
                            "description" => "",
                            "placeholder" => "5",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon_space.png"
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_icon_align.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_text_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_date_text_color.png"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_date', true, 'Date text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_current_post',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single External Shortcode',
                "base" => "tdb_single_current_post",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_current_post.php',
                "params" => array_merge(
                    array(
                        array(
							"param_name" => "content_general",
							"type" => "textarea_raw_html",
							"holder" => "div",
							'class' => '',
							"heading" => 'Text',
							"value" => base64_encode('Html code here! Even shortcodes! Replace this with your code and that\'s it' ),
							"description" => 'Enter your content.'
						),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_author',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Author',
                "base" => "tdb_single_author",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_author.php',
                'tdc_style_params' => array(
                    'author_by',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_inline.png"
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_align_right.png"
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Additional text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "author_by",
                            "type" => "textfield",
                            "value" => 'By',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "add_text_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Space',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_additional_text_space.png"
                        ),
                        array(
                            "param_name" => "add_text_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Inline' => '',
                                'Above author name' => 'above',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_additional_text_inline_above.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Author photo',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "author_photo",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show author photo',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_icon_show.png"
                        ),
                        array(
                            "param_name" => "photo_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Author photo size',
                            "description" => "",
                            "placeholder" => "20",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_icon_size.png"
                        ),
                        array(
                            "param_name" => "photo_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Author photo space',
                            "description" => "",
                            "placeholder" => "6",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_icon_space.png"
                        ),
                        array(
                            "param_name" => "photo_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Author photo radius',
                            "description" => "",
                            "placeholder" => "50%",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_icon_radius.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "author_by_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_additional_text_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author name color',
                            "param_name"  => "author_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_post_author_text_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author name hover color',
                            "param_name"  => "author_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_auth_by', true, 'Additional text' ),
                    td_config_helper::get_map_block_font_array( 'f_auth_name', false, 'Author name text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_comments_count',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Comments Counter',
                "base" => "tdb_single_comments_count",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_comments_count.php',
                'tdc_style_params' => array(
                    'add_text',
                    'tdicon',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'tdicon' => 'td-icon-comments',
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "add_text",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "add_text_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before counter' => '',
                                'After counter' => 'after',
                            ),
                            "heading" => 'Additional text position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "add_text_space",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Additional text space',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Change comments icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_comments_icon.png"
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Comments icon size',
                            "description" => "",
                            "placeholder" => "9",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_comments_icon_size.png"
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Comments icon space',
                            "description" => "",
                            "placeholder" => "5",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_comments_icon_space.png"
                        ),
	                    array(
		                    'param_name' => 'icon_align',
		                    'type' => 'range-responsive',
		                    'value' => '0',
		                    'heading' => 'Icon align',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'range_min' => '-10',
		                    'range_max' => '10',
		                    'range_step' => '1',
	                    ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
	                    array(
		                    "param_name" => "make_inline",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Display inline',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_comments_display_inline.png"
	                    ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_comments_align_right.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Comments counter color',
                            "param_name"  => "comms_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_comments_text_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Comments counter hover color',
                            "param_name"  => "comms_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Comments icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_comments_text_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Comments icon hover color',
                            "param_name"  => "icon_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_comms', true, 'Comments counter text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_post_views',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Views',
                "base" => "tdb_single_post_views",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_post_views.php',
                'tdc_style_params' => array(
                    'add_text',
                    'tdicon',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'tdicon' => 'td-icon-views',
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "views_type",
                            "type" => "dropdown",
                            "value" => array(
                                '- WP-PostViews Plugin -' => 'wp-post-plugin',
                                'Theme Post Views' => 'theme'
                            ),
                            "heading" => 'Post views source',
                            "description" => "From which service you want your post views number",
                            "holder" => "div",
                            "class" => "tdc-dropdown-extrabig"
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_views_display_inline.png"
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_views_align_right.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Additional text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "add_text",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "add_text_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before counter' => '',
                                'After counter' => 'after',
                            ),
                            "heading" => 'Additional text position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "add_text_space",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Additional text space',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_views_icon.png"
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon size',
                            "description" => "",
                            "placeholder" => "14",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_views_icon_size.png"
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon space',
                            "description" => "",
                            "placeholder" => "5",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_views_icon_space.png"
                        ),
	                    array(
		                    'param_name' => 'icon_align',
		                    'type' => 'range-responsive',
		                    'value' => '0',
		                    'heading' => 'Icon align',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'range_min' => '-10',
		                    'range_max' => '10',
		                    'range_step' => '1',
	                    ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Views counter color',
                            "param_name"  => "views_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_views_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Views icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_views_color.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_views', true, 'Views counter text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add( 'tdb_single_post_favourite',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Bookmark',
                "base" => "tdb_single_post_favourite",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_post_favourite.php',
                'tdc_style_params' => array(
                    'tdicon',
                    'tdicon_added',
                    'tds_single_favorite',
                    'tds_single_favorite2-text_init',
                    'tds_single_favorite2-text_init',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "tdicon" => "td-icon-bookmark-empty",
                                "tdicon_added" => "td-icon-bookmark-full",
                                "tds_single_favorite2-btn_horiz_align" => "content-horiz-center",
                                "tds_single_favorite2-text_init" => "Bookmark post",
                                "tds_single_favorite2-text_init" => "Bookmarked post",
                            ),
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Initial icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            'param_name' => 'tdicon_added',
                            'type' => 'icon',
                            'heading' => 'Hover/added icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "horiz_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "tds_single_favorite",
                            "type" => "dropdown",
                            "value" => td_api_style::get_styles_for_mapping( 'tds_single_favorite', false ),
                            "heading" => 'Style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-extrabig",
                            "group" => "General",
                        ),
                    ),
                    self::get_block_style()
                ),
            )

        );


        // tdb_single_post_share block params
        $tdb_single_post_share_block_params = array(
	        array(
		        "param_name" => "social_rel",
		        "type" => "dropdown",
		        "value" => array(
			        'Disable' => '',
			        'Nofollow' => 'nofollow',
			        'Noopener' => 'noopener',
			        'Noreferrer' => 'noreferrer'
		        ),
		        "heading" => "Set rel attribute",
		        "description" => "",
		        "holder" => "div",
		        "class" => "tdc-dropdown-big"
	        ),
	        array(
		        "param_name" => "like_share_text",
		        "type" => "checkbox",
		        "value" => '',
		        "heading" => 'Hide share text',
		        "description" => "Show or hide the article share text on single post",
		        "holder" => "div",
		        "class" => ""
	        ),
	        array(
		        "param_name" => "like",
		        "type" => "checkbox",
		        "value" => "yes",
		        "heading" => "Hide like button",
		        "description" => "Show or hide the article like on single post (Deprecated)",
		        "holder" => "div",
		        "class" => ""
	        ),
            array(
                "param_name" => "content_align_horizontal",
                "type" => "dropdown",
                "value" => array(
	                'Left' => 'content-horiz-left',
	                'Center' => 'content-horiz-center',
	                'Right' => 'content-horiz-right'
                ),
                "heading" => 'Share align',
                "description" => "",
                "holder" => "div",
                'tdc_dropdown_images' => true,
                "class" => "tdc-visual-selector tdc-add-class",
                "info_img" => "https://cloud.tagdiv.com/help/post_share_horizontal_align.png"
            ),
            array(
                "param_name" => "separator",
                "type"       => "text_separator",
                'heading'    => 'Style',
                "value"      => "",
                "class"      => "",
                "group"      => "",
            ),
            array(
                "param_name" => "like_share_style",
                "type" => "dropdown",
                "value" => array(
	                'Style 1' => 'style1',
	                'Style 2' => 'style2',
	                'Style 3' => 'style3',
	                'Style 4' => 'style4',
	                'Style 5' => 'style5',
	                'Style 6' => 'style6',
	                'Style 7' => 'style7',
	                'Style 8' => 'style8',
	                'Style 9' => 'style9',
	                'Style 10' => 'style10',
	                'Style 11' => 'style11',
	                'Style 12' => 'style12',
	                'Style 13' => 'style13',
	                'Style 14' => 'style14',
	                'Style 15' => 'style15',
	                'Style 16' => 'style16',
	                'Style 17' => 'style17',
	                'Style 18' => 'style18',
	                'Style 19' => 'style19',
	                'Style 20' => 'style20',
                ),
                "heading" => 'Share buttons style',
                "description" => "Change the appearance of the sharing buttons",
                "holder" => "div",
                'tdc_dropdown_images' => true,
                "class" => "tdc-visual-selector tdc-share-style tdc-add-class",
                "info_img" => "https://cloud.tagdiv.com/help/post_share_style.png"
            ),
            array(
                "param_name" => "separator",
                "type"       => "text_separator",
                'heading'    => 'Share label',
                "value"      => "",
                "class"      => "tdc-separator-small",
                "group"      => "",
            ),
            array(
                "param_name"  => "share_i_color",
                "heading"     => 'Share icon color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_text_color_share.png"
            ),
            array(
                "param_name"  => "share_color",
                "heading"     => 'Share text color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_text_color_share.png"
            ),
            array(
                "param_name"  => "share_bg_color",
                "heading"     => 'Share background color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_bg_color_share.png"
            ),
            array(
                "param_name"  => "share_b_color",
                "heading"     => 'Share border color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_border_color_share.png"
            ),
            array(
                "param_name" => "share_radius",
                "type" => "textfield-responsive",
                "value" => '',
                "heading" => 'Share border radius',
                "description" => "",
                "placeholder" => "",
                "holder" => "div",
                "class" => "tdc-textfield-small",
                "info_img" => ""
            ),
            array(
                "param_name" => "separator",
                "type"       => "text_separator",
                'heading'    => 'Share buttons',
                "value"      => "",
                "class"      => "tdc-separator-small",
                "group"      => "",
            ),
            array(
                "param_name"  => "btn_i_color",
                "heading"     => 'Buttons icon color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_icon_color.png"
            ),
            array(
                "param_name"  => "btn_color",
                "heading"     => 'Buttons text color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_text_color.png"
            ),
            array(
                "param_name"  => "btn_bg_color",
                "heading"     => 'Buttons background color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_bg_color.png"
            ),
            array(
                "param_name"  => "btn_b_color",
                "heading"     => 'Buttons border color',
                "type"        => "colorpicker",
                "holder"      => "div",
                "class"       => "",
                "value"       => '',
                "description" => '',
                "info_img" => "https://cloud.tagdiv.com/help/post_share_border_color.png"
            ),
            array(
                "param_name" => "btn_radius",
                "type" => "textfield-responsive",
                "value" => '',
                "heading" => 'Buttons border radius',
                "description" => "",
                "placeholder" => "",
                "holder" => "div",
                "class" => "tdc-textfield-small",
                "info_img" => ""
            ),
        );

        $template_types =  array ('page', 'category', 'cpt_tax');
        if ( 'woo_product' === tdc_util::get_get_val('tdbTemplateType') || in_array(tdc_util::get_get_val('tdbTemplateType'), $template_types) ) {
	        // remove the 'like' button param item at index 2
	        unset( $tdb_single_post_share_block_params[2] );
        }

        $social_share_name = 'Social Share';
        if ( 'woo_product' === tdc_util::get_get_val('tdbTemplateType') ) {
            $social_share_name = 'Woo Product Share';
        } elseif ( 'single' === tdc_util::get_get_val('tdbTemplateType') ) {
            $social_share_name = 'Single Post Share';
        }
        $tdc_category = ( in_array(tdc_util::get_get_val('tdbTemplateType'), $template_types) ) ? 'Common page elements' : 'Single post';

        td_api_block::add( 'tdb_single_post_share',
            array(
                'map_in_td_composer' => true,
                "name" => $social_share_name,
                "base" => "tdb_single_post_share",
                'tdc_category' => $tdc_category,
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_post_share.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "show_all",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show all',
                            "description" => "Show all the icons",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "display_vertically",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display vertically',
                            "description" => "Display the icons, vertically",
                            "holder" => "div",
                            "class" => ""
                        ),
                    ),
	                $tdb_single_post_share_block_params,
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Fonts',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                    ),
	                td_config_helper::get_map_block_font_array( 'f_share', true, 'Share text' ),
	                td_config_helper::get_map_block_font_array( 'f_txt', false, 'Buttons text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_featured_image',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Featured Image',
                "base" => "tdb_single_featured_image",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_featured_image.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Featured Image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "image_size",
                            "type" => "dropdown",
                            "value" => self::get_theme_thumbs(),
                            "heading" => 'Featured image size',
                            "description" => "Set the featured image size.",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            "param_name" => "lightbox",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Featured image lightbox',
                            "description" => "What to do when the featured image is clicked",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "image_preload",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Image preload',
                            "description" => "Preload featured image",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "stretch",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Auto stretch block',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_auto_stretch.png"
                        ),
                        array(
                            "param_name" => "stretch_rev",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Reverse stretch',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_reverse_stretch.png"
                        ),
                        array(
                            "param_name" => "hide_img",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Hide when no featured image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            'toggle_enable_params' => 'hide_img',
                            'toggle_enable_params_reverse' => true,
                        ),
                        array(
                            "param_name" => "default_image",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Default image",
                            "description" => "This image will appear on posts without featured image.",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "",
                            'toggle_enabled_by' => 'hide_img',
                        ),
                        array(
                            "param_name" => "radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Image radius',
                            "description" => "",
                            "placeholder" => "0px 0px 0px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Caption',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "caption_margin",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Caption margin',
                            "description" => "",
                            "placeholder" => "6px 0px 0px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_margin.png"
                        ),
                        array(
                            "param_name" => "caption_padding",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Caption padding',
                            "description" => "",
                            "placeholder" => "0px 0px 0px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_margin.png"
                        ),
                        array(
                            "param_name" => "caption_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Below image' => '',
                                'Over image' => 'over',
                            ),
                            "heading" => 'Caption position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "caption_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Caption horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_horizontal_align.png"
                        ),
                        array(
                            "param_name" => "hide_caption",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Hide caption",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Featured Video',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "controls",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Show controls",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                        ),
                        array(
                            "param_name"  => "autoplay",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Autoplay",
                            "description" => "The video will play automatically, but without sound. However, the visitor can turn on the volume.",
                            "holder"      => "div",
                            "class"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Featured Audio',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Self-hosted',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            'param_name'  => 'audio_size',
                            'type'        => 'range-responsive',
                            'value'       => '1',
                            'heading'     => 'Audio player size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Spotify',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "spotify_size",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Show large player",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Featured image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Overlay color',
                            "value" => '',
                            "description" => '',
                            "group" => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/post_bg_featured_img_overlay.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Caption',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Caption text color',
                            "param_name"  => "caption_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_color.png"
                        ),
                        array(
                            "param_name" => "caption_bg",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Caption background color',
                            "value" => '',
                            "description" => '',
                            "group" => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_bg.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_caption', true, 'Caption text', 'Style' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Featured audio player',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Self-hosted',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Buttons color',
                            "param_name"  => "audio_btn_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_audio_button_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Time text color',
                            "param_name"  => "audio_time_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_audio_time_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars background color',
                            "param_name"  => "audio_bar_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_audio_bar_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars progress color',
                            "param_name"  => "audio_bar_curr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_audio_progress_color.png"
                        ),
                    ),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_bg_featured_image',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Bg Featured Image',
                "base" => "tdb_single_bg_featured_image",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_bg_featured_image.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
	                    array(
		                    "param_name"  => "image_size",
		                    "type"        => "dropdown-responsive",
		                    "value"       => self::get_theme_thumbs_full(),
		                    "heading"     => 'Image size',
		                    "description" => "",
		                    "holder"      => "div",
		                    "class"       => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
	                    ),
                        array(
                            "param_name" => "image_preload",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Image preload',
                            "description" => "Preload featured image",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "block_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Image height',
                            "description" => "",
                            "placeholder" => "600",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/post_bg_featured_img_height.png"
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_bg_featured_img_align.png"
                        ),
	                    array(
		                    "param_name" => "img_circle",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => "Rounded image",
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => ""
	                    ),
                        array(
                            "param_name" => "img_fixed",
                            "type" => "checkbox-responsive",
                            "value" => '',
                            "heading" => "Fixed image",
                            "description" => "Does not apply for auto-loaded articles.",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "overlay",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Overlay color',
                            "value" => '',
                            "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_bg_featured_img_overlay.png"
                        ),
                        array(
                            "param_name" => "hide_img",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Hide when no featured image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            'toggle_enable_params' => 'hide_img',
                            'toggle_enable_params_reverse' => true,
                        ),
                        array(
                            "param_name" => "default_image",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Default image",
                            "description" => "This image will appear on posts without featured image.",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "",
                            'toggle_enabled_by' => 'hide_img',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "caption_margin",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Caption margin',
                            "description" => "",
                            "placeholder" => "6px 0px 0px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_margin.png"
                        ),
                        array(
                            "param_name" => "caption_padding",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Caption padding',
                            "description" => "",
                            "placeholder" => "0px 0px 0px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_margin.png"
                        ),
                        array(
                            "param_name" => "caption_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Below image' => '',
                                'Over image' => 'over',
                            ),
                            "heading" => 'Caption position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "caption_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Caption horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_horizontal_align.png"
                        ),
                        array(
                            "param_name" => "hide_caption",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Hide caption",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array_merge(
                        array(
                            array(
                                    "param_name" => "separator",
                                    "type" => "horizontal_separator",
                                    "value" => "",
                                    "class" => "",
                                    "group" => "Style"
                                ),
                            ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_caption', true, 'Caption text', 'Style' ),
                    array_merge(
                        array(
                            array(
                                "type"        => "colorpicker",
                                "holder"      => "div",
                                "class"       => "",
                                "heading"     => 'Caption text color',
                                "param_name"  => "caption_color",
                                "value"       => '',
                                "description" => '',
                                "group"       => "Style",
                                "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_color.png"
                             ),
                            array(
                                "param_name" => "caption_bg",
                                "type" => "gradient",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Caption background color',
                                "value" => '',
                                "description" => '',
                                "group" => 'Style',
                                "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_bg.png"
                            )
                        ), self::get_block_style()
                    )
                )
            )
        );

        td_api_block::add( 'tdb_single_content',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Content',
                "base" => "tdb_single_content",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_content.php',
                'tdc_style_params' => array(
                    'ad_top',
                    'ad_top_title',
                    'ad_top_disable',
                    'ad_top_hide_plan_id',
                    'ad_inline',
                    'ad_inline_title',
                    'ad_inline_paragraph',
                    'ad_inline_disable',
                    'ad_inline_hide_plan_id',
                    'ad_inline1',
                    'ad_inline_title1',
                    'ad_inline_paragraph1',
                    'ad_inline_disable1',
                    'ad_inline_hide_plan_id1',
                    'ad_inline2',
                    'ad_inline_title2',
                    'ad_inline_paragraph2',
                    'ad_inline_disable2',
                    'ad_inline_hide_plan_id2',
                    'ad_bottom',
                    'ad_bottom_title',
                    'ad_bottom_disable',
                    'ad_bottom_hide_plan_id',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "content_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Content width',
                            "description" => "Set content width for a better gutenberg compatibility",
                            "placeholder" => "auto",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_content_width.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Center aligned images',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "center_extend",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Extend by',
                            "description" => "Extend center aligned images to the left, right or both by a desired amount, in pixels or other units of measurement.",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => '',
                        ),
                        array(
                            "param_name" => "center_extend_dir",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left & Right' => '',
                                'Left' => 'left',
                                'Right' => 'right',
                            ),
                            "heading" => 'Extend direction',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/post_content_extend_img_center.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Left aligned images',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "left_extend",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Move by',
                            "description" => "Move left aligned images to the left by a desired amount, in pixels or other units of measurement.",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Right aligned images',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "right_extend",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Move by',
                            "description" => "Move right aligned images to the right by a desired amount, in pixels or other units of measurement.",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Image caption',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "caption_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Caption space',
                            "description" => "",
                            "placeholder" => "6px 0 26px 0",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_margin.png"
                        ),
	                    array(
		                    "param_name"  => "post_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'Post content color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_content_text_color.png"
	                    ),
	                    array(
		                    "param_name"  => "h_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'H1-6 color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_content_heading_color.png"
	                    ),
	                    array(
		                    "param_name"  => "a_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "td-colorpicker-double-a",
		                    "heading"     => 'Links color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Style",
	                    ),
	                    array(
		                    "param_name"  => "a_hover_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "td-colorpicker-double-b",
		                    "heading"     => 'Links hover color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Style",
	                    ),
                        array(
                            "param_name"  => "button_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Buttons color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name"  => "button_hover_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Buttons hover color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name"  => "button_bg_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Buttons BG color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name"  => "button_bg_hover_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Buttons BG hover color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
	                    array(
		                    "param_name"  => "bq_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'Default blockquote color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_content_blockquote_color.png"
	                    ),
                        array(
                            "param_name"  => "caption_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Image caption text color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/post_featured_img_caption_color.png"
                        ),
                        array(
                            "param_name"  => "li_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Lists text color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Text color',
                            "param_name"  => "pag_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "pag_h_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active text color',
                            "param_name"  => "pag_a_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Background color',
                            "param_name"  => "pag_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "pag_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active background color',
                            "param_name"  => "pag_a_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Border color',
                            "param_name"  => "pag_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "pag_h_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active border color',
                            "param_name"  => "pag_a_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
	                    array(
		                    "param_name" => "separator",
		                    "type" => "horizontal_separator",
		                    "value" => "",
		                    "class" => "tdc-separator",
                            "group"       => "Style",
	                    ),
                    ),
	                td_config_helper::get_map_block_font_array( 'f_post', true, 'Post content', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_h1', false, 'H1', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_h2', false, 'H2', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_h3', false, 'H3', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_h4', false, 'H4', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_h5', false, 'H5', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_h6', false, 'H6', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_list', false, 'Lists', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_button', false, 'Button', 'Style' ),
	                td_config_helper::get_map_block_font_array( 'f_bq', false, 'Default blockquote', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_caption', false, 'Image caption text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_pag', false, 'Pagination text', 'Style' ),
	                array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Ads',
                            "value"      => "",
                            "class"      => "",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article top ad',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_top",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_top_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
                            'group'      => 'Ads',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "ad_top_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name"  => "ad_top_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Ad margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Ads",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "ad_top_disable",
                            "type" => "checkbox",
                            "value" => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_top_hide_plan_id",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Hide ad for subscribed users',
                            "description" => "Hide the Ad for users which are subscribed to one of the plan IDs you enter here.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article inline ad 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            "inline_spot" => true,
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-inline-spot-title",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline_paragraph",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'After paragraph',
                            "description" => "After how many paragraphs the ad will display. The theme will analyze the content of each post and it will inject an ad after the selected number of paragraphs",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small tdc-spot-controller tdc-inline-spot-paragraph",
                            'group' => 'Ads',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-inline-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "ad_inline_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_inline_align",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Ad position in content',
                            "description" => "Float left, full post width or float right.",
                            "holder" => "div",
                            "class" => "tdc-spot-controller tdc-inline-spot-align",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name"  => "ad_inline_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Ad margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Ads",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "ad_inline_disable",
                            "type" => "checkbox",
                            "value" => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_inline_hide_plan_id",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Hide ad for subscribed users',
                            "description" => "Hide the Ad for users which are subscribed to one of the plan IDs you enter here.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article inline ad 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline1",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            "inline_spot" => true,
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline_title1",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-inline-spot-title",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline_paragraph1",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'After paragraph',
                            "description" => "After how many paragraphs the ad will display. The theme will analyze the content of each post and it will inject an ad after the selected number of paragraphs",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small tdc-spot-controller tdc-inline-spot-paragraph",
                            'group' => 'Ads',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-inline-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "ad_inline_color1",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_inline_align1",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Ad position in content',
                            "description" => "Float left, full post width or float right.",
                            "holder" => "div",
                            "class" => "tdc-spot-controller tdc-inline-spot-align",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name"  => "ad_inline_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Ad margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Ads",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "ad_inline_disable1",
                            "type" => "checkbox",
                            "value" => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_inline_hide_plan_id1",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Hide ad for subscribed users',
                            "description" => "Hide the Ad for users which are subscribed to one of the plan IDs you enter here.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article inline ad 3',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline2",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            "inline_spot" => true,
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline_title2",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-inline-spot-title",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_inline_paragraph2",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'After paragraph',
                            "description" => "After how many paragraphs the ad will display. The theme will analyze the content of each post and it will inject an ad after the selected number of paragraphs",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small tdc-spot-controller tdc-inline-spot-paragraph",
                            'group' => 'Ads',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-inline-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "ad_inline_color2",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_inline_align2",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Ad position in content',
                            "description" => "Float left, full post width or float right.",
                            "holder" => "div",
                            "class" => "tdc-spot-controller tdc-inline-spot-align",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name"  => "ad_inline_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Ad margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Ads",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "ad_inline_disable2",
                            "type" => "checkbox",
                            "value" => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_inline_hide_plan_id2",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Hide ad for subscribed users',
                            "description" => "Hide the Ad for users which are subscribed to one of the plan IDs you enter here.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article bottom ad',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_bottom",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_bottom_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            'group' => 'Ads',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Ad title color',
                            "param_name"  => "ad_bot_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name"  => "ad_bottom_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Ad margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Ads",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "ad_bottom_disable",
                            "type" => "checkbox",
                            "value" => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group"       => "Ads",
                        ),
                        array(
                            "param_name" => "ad_bottom_hide_plan_id",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Hide ad for subscribed users',
                            "description" => "Hide the Ad for users which are subscribed to one of the plan IDs you enter here.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group"       => "Ads",
                        ),
	                ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_source',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Source',
                "base" => "tdb_single_source",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_source.php',
                'tdc_style_params' => array(
                    'add_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "add_text",
                            "type" => "textfield",
                            "value" => 'Source',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_additional_text.png",
                        ),
                        array(
                            "param_name" => "add_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text space',
                            "description" => "",
                            "placeholder" => "4",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_additional_text_space.png",
                        ),
                        array(
                            "param_name" => "add_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text padding',
                            "description" => "",
                            "placeholder" => "2px 8px 3px 8px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_additional_text_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "src_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Source name padding',
                            "description" => "",
                            "placeholder" => "1px 7px 2px 7px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_tag_padding.png",
                        ),
                        array(
                            "param_name" => "all_src_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Source name border width',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_name_border_width.png",
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open source in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "add_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_additional_text_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text background',
                            "param_name"  => "add_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_additional_text_bg_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Source name color',
                            "param_name"  => "src_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_name_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Source name hover color',
                            "param_name"  => "src_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Source name background',
                            "param_name"  => "src_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_name_bg_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Source name hover background',
                            "param_name"  => "src_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Source name border color',
                            "param_name"  => "all_src_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_source_name_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Source name border hover color',
                            "param_name"  => "src_border_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_add', true, 'Additional text' ),
                    td_config_helper::get_map_block_font_array( 'f_source', false, 'Source name text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_via',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Via',
                "base" => "tdb_single_via",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_via.php',
                'tdc_style_params' => array(
                    'add_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "add_text",
                            "type" => "textfield",
                            "value" => 'Via',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_additional_text.png",
                        ),
                        array(
                            "param_name" => "add_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text space',
                            "description" => "",
                            "placeholder" => "4",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_additional_text_space.png",
                        ),
                        array(
                            "param_name" => "add_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text padding',
                            "description" => "",
                            "placeholder" => "2px 8px 3px 8px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_additional_text_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "via_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Via name padding',
                            "description" => "",
                            "placeholder" => "1px 7px 2px 7px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_name_padding.png",
                        ),
                        array(
                            "param_name" => "all_via_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Via name border width',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_name_border_width.png",
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open via in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "add_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_additional_text_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text background',
                            "param_name"  => "add_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_additional_text_background_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Via name color',
                            "param_name"  => "via_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_name_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Via name hover color',
                            "param_name"  => "via_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Via name background',
                            "param_name"  => "via_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_name_background_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Via name hover background',
                            "param_name"  => "via_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Via name border color',
                            "param_name"  => "all_via_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_via_name_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Via name border hover color',
                            "param_name"  => "via_border_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_add', true, 'Additional text' ),
                    td_config_helper::get_map_block_font_array( 'f_via', false, 'Via name text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_tags',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Tags',
                "base" => "tdb_single_tags",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_tags.php',
                'tdc_style_params' => array(
                    'add_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "add_text",
                            "type" => "textfield",
                            "value" => 'Tags',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text.png",
                        ),
                        array(
                            "param_name" => "add_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text space',
                            "description" => "",
                            "placeholder" => "4",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_space.png",
                        ),
                        array(
                            "param_name" => "add_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text padding',
                            "description" => "",
                            "placeholder" => "2px 8px 3px 8px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "tags_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Tags spacing',
                            "description" => "",
                            "placeholder" => "4",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_space.png",
                        ),
                        array(
                            "param_name" => "tags_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Tags padding',
                            "description" => "",
                            "placeholder" => "1px 7px 2px 7px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_padding.png",
                        ),
                        array(
                            "param_name" => "all_tags_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Tags border width',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_border_width.png",
                        ),
	                    array(
		                    'param_name' => 'tags_radius',
		                    'type' => 'range-responsive',
		                    'value' => '0',
		                    'heading' => 'Tags radius',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'range_min' => '0',
		                    'range_max' => '100',
		                    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_border_radius.png",
	                    ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "add_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text background',
                            "param_name"  => "add_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_background_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Tags text color',
                            "param_name"  => "tags_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Tags text color hover',
                            "param_name"  => "tags_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Tags background color',
                            "param_name"  => "tags_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_background_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Tags background hover color',
                            "param_name"  => "tags_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Tags border color',
                            "param_name"  => "all_tags_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Tags border hover color',
                            "param_name"  => "tags_border_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_add', true, 'Additional text' ),
                    td_config_helper::get_map_block_font_array( 'f_tags', false, 'Tags text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_ctags',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Custom Tags',
                "base" => "tdb_single_ctags",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/cpt/tdb_single_ctags.php',
                'tdc_style_params' => array(
                    'add_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                    	array(
						    "param_name" => "taxonomy",
						    "type" => "textfield",
						    "value" => '',
						    "heading" => 'Taxonomy',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-textfield-extrabig",
					    ),
					    array(
                            "param_name" => "add_text",
                            "type" => "textfield",
                            "value" => 'Tags',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text.png",
                        ),
                        array(
                            "param_name" => "add_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text space',
                            "description" => "",
                            "placeholder" => "4",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_space.png",
                        ),
                        array(
                            "param_name" => "add_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text padding',
                            "description" => "",
                            "placeholder" => "2px 8px 3px 8px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "tags_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Tags spacing',
                            "description" => "",
                            "placeholder" => "4",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_space.png",
                        ),
                        array(
                            "param_name" => "tags_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Tags padding',
                            "description" => "",
                            "placeholder" => "1px 7px 2px 7px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_padding.png",
                        ),
                        array(
                            "param_name" => "all_tags_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Tags border width',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_border_width.png",
                        ),
	                    array(
		                    'param_name' => 'tags_radius',
		                    'type' => 'range-responsive',
		                    'value' => '0',
		                    'heading' => 'Tags radius',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'range_min' => '0',
		                    'range_max' => '100',
		                    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_border_radius.png",
	                    ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "add_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text background',
                            "param_name"  => "add_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_text_background_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Tags text color',
                            "param_name"  => "tags_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Tags text color hover',
                            "param_name"  => "tags_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Tags background color',
                            "param_name"  => "tags_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_background_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Tags background hover color',
                            "param_name"  => "tags_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Tags border color',
                            "param_name"  => "all_tags_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_tags_additional_tag_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Tags border hover color',
                            "param_name"  => "tags_border_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_add', true, 'Additional text' ),
                    td_config_helper::get_map_block_font_array( 'f_tags', false, 'Tags text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add( 'tdb_single_next_prev',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Next Prev',
                "base" => "tdb_single_next_prev",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_next_prev.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                	array(
                        array(
                            "param_name" => "same_cat_posts",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Display posts from the same category",
                            "description" => "Pick posts that have at least one category in common with the current post",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
		                array(
			                "param_name" => "content_align_horizontal",
			                "type" => "dropdown",
			                "value" => array(
				                'Default' => 'layout-default',
				                'Left' => 'content-horiz-left',
				                'Center' => 'content-horiz-center',
				                'Right' => 'content-horiz-right'
			                ),
			                "heading" => 'Text align',
			                "description" => "",
			                "holder" => "div",
			                'tdc_dropdown_images' => true,
			                "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/single_next_prev_text_align.png",
		                ),
                        array(
                            "param_name" => "box_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Padding around posts',
                            "description" => "",
                            "placeholder" => "0px 0px 0px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_next_prev_posts_padding.png",
                        ),
                         array(
		                    "param_name"  => "art_title",
		                    "type"        => "textfield-responsive",
		                    "value"       => '',
		                    "heading"     => 'Article title space',
		                    "description" => "",
		                    "holder"      => "div",
		                    "class"       => "tdc-textfield-big",
		                    "placeholder" => "0px 0px 0px 0px",
		                    "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
		                ),
                         array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                 '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            "param_name"  => "image_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (0-100 percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_floated",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Normal'      => 'no_float',
                                'Float left'  => 'float_left',
                                'Float right' => 'float_right',
                                'Hidden'      => 'hidden',
                            ),
                            "heading"     => 'Image position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
                        ),
                        array(
                            "param_name"  => "image_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name"  => "hide_image",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Hide image",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
                        ),
		                array(
			                "param_name" => "separator",
			                "type"       => "text_separator",
			                'heading'    => 'Style',
			                "value"      => "",
			                "class"      => "",
		                ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Background color',
                            "param_name"  => "bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_next_prev_background_color.png",
                        ),
		                array(
			                "type"        => "colorpicker",
			                "holder"      => "div",
			                "class"       => "",
			                "heading"     => 'Info text color',
			                "param_name"  => "info_color",
			                "value"       => '',
			                "description" => '',
			                "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_next_prev_info_color.png",
		                ),
		                array(
			                "type"        => "colorpicker",
			                "holder"      => "div",
			                "class"       => "td-colorpicker-double-a",
			                "heading"     => 'Article text color',
			                "param_name"  => "post_color",
			                "value"       => '',
			                "description" => '',
			                "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_next_prev_article_color.png",
		                ),
		                array(
			                "type"        => "colorpicker",
			                "holder"      => "div",
			                "class"       => "td-colorpicker-double-b",
			                "heading"     => 'Article hover color',
			                "param_name"  => "post_hover_color",
			                "value"       => '',
			                "description" => '',
			                "group"       => "",
		                ),
                        array(
                            "param_name"  => "all_underline_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Underline size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_next_prev_underline_size.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Hover underline color',
                            "param_name"  => "all_underline_color",
                            "value"       => '#000',
                            "description" => 'This works only when Underline size has a value graeter than 0.',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/single_next_prev_underline_color.png",
                        ),
		                array(
			                "param_name" => "separator",
			                "type" => "horizontal_separator",
			                "value" => "",
			                "class" => "tdc-separator-small"
		                ),
	                ),
	                td_config_helper::get_map_block_font_array( 'f_inf', true, 'Info text' ),
	                td_config_helper::get_map_block_font_array( 'f_art', false, 'Article text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_author_box',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Author Box',
                "base" => "tdb_single_author_box",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_author_box.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'photo_space' => 'eyJwaG9uZSI6IjEwIn0='
                            ),
                            array(
                                'tdc_preset_name' => 'Default',
                                'photo_space' => 'eyJwaG9uZSI6IjEwIn0='
                            ),
                            array(
                                'tdc_preset_name' => 'Gray Background',
                                "photo_size" => "eyJwaG9uZSI6IjEwMCIsImFsbCI6IjExMCJ9",
                                "tdc_css" => "eyJhbGwiOnsiYmFja2dyb3VuZC1jb2xvciI6IiNmNGY0ZjQiLCJkaXNwbGF5IjoiIn0sInBob25lIjp7Im1hcmdpbi1yaWdodCI6Ii0yMCIsIm1hcmdpbi1sZWZ0IjoiLTIwIiwiY29udGVudC1oLWFsaWduIjoiY29udGVudC1ob3Jpei1jZW50ZXIiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ==",
                                "add_description_margin" => "20px 0 15px 0",
                                "add_name_margin" => "5px 0",
                                "icons_border_radius" => "50%",
                                "photo_radius" => "50%",
                                "f_auth_font_family" => "638",
                                "f_auth_font_size" => "eyJhbGwiOiIyNiIsInBvcnRyYWl0IjoiMjIifQ==",
                                "f_descr_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjE0In0=",
                                "photo_space" => "eyJwaG9uZSI6IjE1In0=",
                                "all_border_width" => "0",
                                "icons_spacing" => "12",
                                "f_auth_font_weight" => "400",
                                "f_auth_font_transform" => "",
                                "f_auth_font_line_height" => "1.2",
                                "f_url_font_size" => "14",
                                "align_vert" => "content-vert-top",
                                "f_descr_font_family" => "521",
                                "f_descr_font_weight" => "300",
                                "f_url_font_style" => "normal",
                                "f_url_font_family" => "521",
                                "f_url_font_weight" => "",
                                "icons_padding" => "2.8",
                                "icons_bg" => "#ffffff",
                            ),
                            array(
                                'tdc_preset_name' => 'Border top & bottom',
                                "photo_space" => "eyJwaG9uZSI6IjEwIn0=",
                                "all_border_width" => "0",
                                "photo_size" => "116",
                                "photo_radius" => "50%",
                                "f_auth_font_family" => "438",
                                "f_auth_font_weight" => "100",
                                "f_auth_font_transform" => "uppercase",
                                "f_auth_font_size" => "20",
                                "tdc_css" => "eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJib3JkZXItYm90dG9tLXdpZHRoIjoiMSIsInBhZGRpbmctdG9wIjoiNDAiLCJwYWRkaW5nLWJvdHRvbSI6IjQwIiwiYm9yZGVyLWNvbG9yIjoiI2VhZWFlYSIsImRpc3BsYXkiOiIifX0=",
                                "icons_color" => "#aaaaaa",
                                "f_url_font_size" => "12",
                                "f_descr_font_family" => "456",
                                "f_descr_font_size" => "14",
                                "f_descr_font_line_height" => "22px",
                                "add_name_margin" => "5px 0",
                                "add_description_margin" => "10px 0",
                            ),
                            array(
                                'tdc_preset_name' => 'With shadow',
                                "tdc_css" => "eyJhbGwiOnsic2hhZG93LXNpemUiOiIyMCIsInNoYWRvdy1jb2xvciI6InJnYmEoMCwwLDAsMC4xKSIsInNoYWRvdy1vZmZzZXQtdiI6IjQiLCJkaXNwbGF5IjoiIn19",
                                "all_border_width" => "0",
                                "f_auth_font_weight" => "400",
                                "f_auth_font_size" => "20",
                                "f_url_font_style" => "normal",
                                "f_url_font_size" => "12",
                                "f_descr_font_size" => "14",
                                "f_descr_font_weight" => "300",
                                "f_auth_font_family" => "",
                                "f_descr_font_family" => "521",
                                "icons_size" => "13",
                                "icons_spacing" => "20",
                                "photo_size" => "eyJhbGwiOiIxMTUiLCJwaG9uZSI6Ijk2In0=",
                                "photo_space" => "20",
                                "add_description_margin" => "eyJwaG9uZSI6IjE1cHggMCAwIDAifQ==",
                                "add_name_margin" => "eyJwaG9uZSI6IjAgMCA1cHggMCJ9",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "box_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Box padding',
                            "description" => "",
                            "placeholder" => "21px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_padding.png",
                        ),
                        array(
                            "param_name" => "all_border_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Box border width',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_border_width.png",
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Box border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_border_style.png",
                        ),
                        array(
                            "param_name" => "display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Columns' => '',
                                'Row' => 'row',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_display.png",
                        ),
                        array(
                            "param_name" => "align_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Top' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Bottom' => 'content-vert-bottom'
                            ),
                            "heading" => 'Vertical align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_vert_align.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "Works only when 'Display' is set to 'Row'.",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Author photo',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "photo_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Size',
                            "description" => "",
                            "placeholder" => "96",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_av_size.png",
                        ),
                        array(
                            "param_name" => "photo_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Space',
                            "description" => "",
                            "placeholder" => "21",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_av_space.png",
                        ),
                        array(
                            "param_name" => "photo_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_av_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Meta info',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "add_name_margin",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Name margins',
                            "description" => "",
                            "placeholder" => "7px 0px 8px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_name_margin.png",
                        ),
                        array(
                            "param_name" => "add_description_margin",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Description margins',
                            "description" => "",
                            "placeholder" => "0 0 0 0",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_descr_margin.png",
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open user url in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                         array(
                            "param_name" => "url_rel",
                            "type" => "dropdown",
                            "value" => array(
                                'Disable' => '',
                                'Nofollow' => 'nofollow',
                                'Noopener' => 'noopener',
                                'Noreferrer' => 'noreferrer'
                            ),
                            "heading" => "Set rel attribute on user url",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Social icons',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "social_rel",
                            "type" => "dropdown",
                            "value" => array(
                                'Disable' => '',
                                'Nofollow' => 'nofollow',
                                'Noopener' => 'noopener',
                                'Noreferrer' => 'noreferrer'
                            ),
                            "heading" => "Set rel attribute",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            'param_name' => 'icons_size',
                            'type' => 'range-responsive',
                            'value' => '15',
                            'heading' => 'Icons size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '8',
                            'range_max' => '50',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_icons_size.png",
                        ),
                        array(
                            'param_name' => 'icons_padding',
                            'type' => 'range-responsive',
                            'value' => '1',
                            'heading' => 'Padding around icons',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '3',
                            'range_step' => '0.1',
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_icons_padding.png",
                        ),
                        array(
                            'param_name' => 'icons_spacing',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Spacing around icons',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '15',
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_icons_space.png",
                        ),
                        array(
                            'param_name' => 'icons_border_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Icons border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '0',
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_icons_radius.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Box border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Meta info',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author name color',
                            "param_name"  => "auth_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_name_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author name hover color',
                            "param_name"  => "auth_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author url color',
                            "param_name"  => "url_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_url_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author url hover color',
                            "param_name"  => "url_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_descr_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Social icons',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Color',
                            "param_name"  => "icons_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_icons_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Hover color',
                            "param_name"  => "icons_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "icons_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/single_auth_box_icons_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "icons_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_auth', true, 'Author name text', 'Style', '', '', 'https://cloud.tagdiv.com/help/single_auth_box_name_font.png' ),
                    td_config_helper::get_map_block_font_array( 'f_url', false, 'Author url text', 'Style', '', '', 'https://cloud.tagdiv.com/help/single_auth_box_url_font.png' ),
                    td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text', 'Style', '', '', 'https://cloud.tagdiv.com/help/single_auth_box_descr_font.png' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_related',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Related Posts',
                "base" => "tdb_single_related",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_related.php',
                'tdc_style_params' => array(
                    'custom_title',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'modules_on_row' => '33.33333333%',
                                'modules_category' => 'image',
                                'show_author' => 'none',
                                'show_date' => 'none',
                                'show_com' => 'none',
                                'show_excerpt' => 'none',
                                'show_btn' => 'none',
                                "ajax_pagination" => "next_prev",
                                "hide_audio" => "yes"
                            ),
                            array(
                                'tdc_preset_name' => 'Default',
                                'modules_on_row' => '33.33333333%',
                                'modules_category' => 'image',
                                'show_author' => 'none',
                                'show_date' => 'none',
                                'show_com' => 'none',
                                'show_excerpt' => 'none',
                                'show_btn' => 'none',
                                "ajax_pagination" => "next_prev",
                            ),
                            array(
                                'tdc_preset_name' => 'Centered titles',
                                "modules_on_row" => "50%",
                                "modules_category" => "image",
                                "show_author" => "none",
                                "show_date" => "none",
                                "show_com" => "none",
                                "show_excerpt" => "none",
                                "show_btn" => "none",
                                "ajax_pagination" => "next_prev",
                                "block_template_id" => "td_block_template_9",
                                "related_articles_posts_limit" => "6",
                                "modules_gap" => "30",
                                "modules_divider" => "",
                                "image_height" => "60",
                                "meta_info_align" => "",
                                "meta_padding" => "15px 0 0 0",
                                "all_modules_space" => "50",
                                "f_title_font_size" => "20",
                                "f_title_font_line_height" => "1.3",
                                "art_excerpt" => "10px 0 0 0",
                                "nextprev" => "yes",
                                "tdc_css" => "eyJhbGwiOnsiY29udGVudC1oLWFsaWduIjoiY29udGVudC1ob3Jpei1jZW50ZXIiLCJkaXNwbGF5IjoiIn19",
                                "f_title_font_weight" => "400",
                                "f_title_font_transform" => "",
                            ),
                            array(
                                'tdc_preset_name' => 'Side image',
                                "modules_on_row" => "100%",
                                "modules_category" => "image",
                                "show_author" => "",
                                "show_date" => "",
                                "show_com" => "none",
                                "show_excerpt" => "",
                                "show_btn" => "none",
                                "ajax_pagination" => "next_prev",
                                "block_template_id" => "td_block_template_2",
                                "related_articles_posts_limit" => "6",
                                "modules_gap" => "30",
                                "modules_divider" => "dashed",
                                "image_height" => "60",
                                "meta_info_align" => "",
                                "all_modules_space" => "50",
                                "f_title_font_size" => "eyJhbGwiOiIyMCIsInBvcnRyYWl0IjoiMTYifQ==",
                                "f_title_font_line_height" => "1.3",
                                "art_excerpt" => "15px 0 0 0",
                                "nextprev" => "yes",
                                "tdc_css" => "eyJhbGwiOnsiZGlzcGxheSI6IiJ9fQ==",
                                "f_title_font_weight" => "400",
                                "f_title_font_transform" => "",
                                "image_width" => "eyJhbGwiOiIzMCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "image_floated" => "eyJhbGwiOiJmbG9hdF9sZWZ0IiwicGhvbmUiOiJub19mbG9hdCJ9",
                                "meta_margin" => "eyJhbGwiOiIwIDAgMCAxNnB4ICIsInBob25lIjoiMCJ9",
                                "mc1_el" => "20",
                                "f_ex_font_size" => "eyJwb3J0cmFpdCI6IjEyIn0=",
                                "f_ex_font_line_height" => "eyJwb3J0cmFpdCI6IjEuNCJ9",
                                "meta_padding" => "eyJwaG9uZSI6IjE1cHggMCAwIDAifQ==",
                            ),
                            array(
                                'tdc_preset_name' => 'With border',
                                "modules_on_row" => "eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_category" => "image",
                                "show_author" => "none",
                                "show_date" => "",
                                "show_com" => "none",
                                "show_excerpt" => "none",
                                "show_btn" => "none",
                                "block_template_id" => "td_block_template_2",
                                "related_articles_posts_limit" => "3",
                                "modules_divider" => "",
                                "image_height" => "60",
                                "meta_info_align" => "",
                                "meta_padding" => "eyJhbGwiOiIxNXB4IDE1cHggMjBweCIsInBvcnRyYWl0IjoiMTBweCAxMHB4IDE1cHgifQ==",
                                "all_modules_space" => "30",
                                "f_title_font_line_height" => "eyJhbGwiOiIxLjUiLCJwb3J0cmFpdCI6IjEuNCIsInBob25lIjoiMS4zIn0=",
                                "art_excerpt" => "10px 0 0 0",
                                "nextprev" => "yes",
                                "tdc_css" => "eyJhbGwiOnsiZGlzcGxheSI6IiJ9fQ==",
                                "f_title_font_weight" => "600",
                                "f_title_font_transform" => "",
                                "meta_info_border_size" => "0 1px 1px 1px",
                                "show_cat" => "none",
                                "art_title" => "0 0 30px 0",
                                "f_title_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjIwIn0=",
                                "f_title_font_family" => "702",
                                "meta_margin" => "eyJwaG9uZSI6IjAgMCAxMHB4IDAifQ==",
                            ),
                            array(
                                'tdc_preset_name' => 'Two simple modules',
                                "modules_on_row" => "eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_category" => "image",
                                "show_author" => "",
                                "show_date" => "",
                                "show_com" => "none",
                                "show_excerpt" => "none",
                                "show_btn" => "none",
                                "block_template_id" => "td_block_template_9",
                                "related_articles_posts_limit" => "2",
                                "modules_divider" => "",
                                "image_height" => "60",
                                "meta_info_align" => "",
                                "meta_padding" => "15px 0 0 0",
                                "all_modules_space" => "30",
                                "f_title_font_line_height" => "eyJhbGwiOiIxLjMiLCJwb3J0cmFpdCI6IjEuNCIsInBob25lIjoiMS4zIn0=",
                                "nextprev" => "yes",
                                "tdc_css" => "eyJhbGwiOnsiZGlzcGxheSI6IiJ9fQ==",
                                "f_title_font_weight" => "700",
                                "f_title_font_transform" => "uppercase",
                                "show_cat" => "",
                                "f_title_font_size" => "eyJhbGwiOiIyMCIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjIwIn0=",
                                "f_title_font_family" => "507",
                                "meta_margin" => "eyJwaG9uZSI6IjAgMCAxMHB4IDAifQ==",
                                "art_title" => "0 0 5px 0",
                            ),
                            array(
                                'tdc_preset_name' => 'With big shadow',
                                "modules_on_row" => "eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_category" => "above",
                                "show_author" => "",
                                "show_date" => "",
                                "show_com" => "none",
                                "show_excerpt" => "none",
                                "show_btn" => "none",
                                "block_template_id" => "td_block_template_2",
                                "related_articles_posts_limit" => "3",
                                "modules_divider" => "",
                                "image_height" => "60",
                                "meta_info_align" => "",
                                "meta_padding" => "eyJhbGwiOiIzMHB4IDMwcHggNDBweCAzMHB4IiwicG9ydHJhaXQiOiIyMHB4IDE1cHggMjBweCAxNXB4In0=",
                                "all_modules_space" => "30",
                                "f_title_font_line_height" => "eyJwb3J0cmFpdCI6IjEuNCIsInBob25lIjoiMS4zIiwiYWxsIjoiMS40In0=",
                                "art_excerpt" => "10px 0 0 0",
                                "tdc_css" => "eyJhbGwiOnsiZGlzcGxheSI6IiJ9fQ==",
                                "f_title_font_weight" => "400",
                                "f_title_font_transform" => "",
                                "show_cat" => "",
                                "art_title" => "eyJhbGwiOiIxNXB4IDAgNDBweCAwIiwicG9ydHJhaXQiOiIxMHB4IDAgMjBweCAwIn0=",
                                "f_title_font_size" => "eyJhbGwiOiIyNCIsInBvcnRyYWl0IjoiMTUiLCJwaG9uZSI6IjIwIn0=",
                                "f_title_font_family" => "653",
                                "meta_margin" => "eyJwaG9uZSI6IjAgMCAxMHB4IDAifQ==",
                                "meta_info_border_color" => "",
                                "modules_gap" => "30",
                                "f_meta_font_weight" => "",
                                "f_meta_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTIifQ==",
                                "f_meta_font_family" => "653",
                                "author_txt" => "#666666",
                                "f_cat_font_size" => "eyJhbGwiOiIxMiIsInBvcnRyYWl0IjoiMTAifQ==",
                                "f_cat_font_weight" => "400",
                                "f_cat_font_line_height" => "1.3",
                                "f_meta_font_transform" => "uppercase",
                                "shadow_shadow_size" => "eyJhbGwiOiI4MCIsInBob25lIjoiNTAifQ==",
                                "shadow_shadow_offset_vertical" => "15",
                                "shadow_shadow_color" => "rgba(0,0,0,0.12)",
                                "custom_title" => "",
                                "modules_category_padding" => "5px 13px",
                                "f_cat_font_transform" => "uppercase",
                                "modules_category_radius" => "100",
                                "modules_category_spacing" => "0 7px 7px 0",
                                "f_cat_font_family" => "",
                                "date_txt" => "#666666",
                                "cat_bg" => "#444444",
                                "f_meta_font_line_height" => "eyJwb3J0cmFpdCI6IjEuMyJ9",
                            ),


                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_space',
                            ),
                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat/Garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "394",
                                "f_ex_font_family" =>           "fs_4",
                                "f_btn_font_family" =>          "fs_4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title_font_family" =>        "721",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway/Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "507",
                                "f_ex_font_family" =>           "507",
                                "f_btn_font_family" =>          "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "653",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette/Open Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "147",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald/EB garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "445",
                                "f_ex_font_family" =>           "185",
                                "f_btn_font_family" =>          "185",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "406",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "646",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton/Roboto Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "41",
                                "f_ex_font_family" =>           "523",
                                "f_btn_font_family" =>          "523",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "502",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "331",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "663",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn/Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "639",
                                "f_ex_font_family" =>           "394",
                                "f_btn_font_family" =>          "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title_font_line_height" => "1.3",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title_font_line_height" => "1.4",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyMSIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxNyJ9",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyNiIsImxhbmRzY2FwZSI6IjI1IiwicG9ydHJhaXQiOiIyMSIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_ex_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),

                            array(
                                'tdc_preset_name' => 'Text alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Image format',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_image',
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - OFF
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image1',
                                'tdc_preset_individual' => '1',
                                "hide_image" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 2:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image2',
                                'tdc_preset_individual' => '1',
                                "image_height" => "150",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image3',
                                'tdc_preset_individual' => '1',
                                "image_height" => "133",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 7:8
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image4',
                                'tdc_preset_individual' => '1',
                                "image_height" => "114",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 1:1
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image5',
                                'tdc_preset_individual' => '1',
                                "image_height" => "100",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 5:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image6',
                                'tdc_preset_individual' => '1',
                                "image_height" => "80",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 4:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image7',
                                'tdc_preset_individual' => '1',
                                "image_height" => "75",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:2
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image8',
                                'tdc_preset_individual' => '1',
                                "image_height" => "67",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 16:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image9',
                                'tdc_preset_individual' => '1',
                                "image_height" => "56",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 18:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image10',
                                'tdc_preset_individual' => '1',
                                "image_height" => "50",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 21:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image11',
                                'tdc_preset_individual' => '1',
                                "image_height" => "40",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 30:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image12',
                                'tdc_preset_individual' => '1',
                                "image_height" => "30",
                                "hide_image" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Color library',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_color',
                            ),
                            array(
                                'tdc_preset_name' => '', // Color library
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color1',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f9c100',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color2',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff7500',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color3',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f44336',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color4',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff036e',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color5',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#58c7db',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color6',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#607d8b',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color7',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#005689',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color8',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#997df3',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color9',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#4caf50',
                            ),

                            array(
                                'tdc_preset_name' => 'Columns',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_col',
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 1
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col1',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "",
                                "modules_gap" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 2
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col2',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "eyJhbGwiOiIxLjYlIiwicG9ydHJhaXQiOiIyJSJ9",
                                "limit" => "2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 3
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col3',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1.4%",
                                "limit" => "3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 4
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col4',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyNSUiLCJwaG9uZSI6IjUwJSJ9",
                                "modules_gap" => "eyJhbGwiOiIxLjIlIiwicGhvbmUiOiIzJSJ9",
                                "limit" => "4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 5
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col5',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyMCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1%",
                                "limit" => "5",
                                "image_width" => "eyJwaG9uZSI6IjMwIn0=",
                                "image_floated" => "eyJwaG9uZSI6ImZsb2F0X2xlZnQifQ==",
                                "meta_padding" => "eyJwaG9uZSI6IjJweCAwIDAgMTZweCJ9",
                                "all_modules_space" => "eyJhbGwiOiIzNiIsInBob25lIjoiMjUifQ==",
                            ),

                            array(
                                'tdc_preset_name' => 'Layout style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_layout',
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout1',
                                'tdc_preset_individual' => '1',
                                "image_width" => "",
                                "image_floated" => "",
                                "meta_padding" => "",
                                "image_radius" => "",
                                "image_height" => "65",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal rounded
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout2',
                                'tdc_preset_individual' => '1',
                                "image_width" => "80",
                                "image_floated" => "",
                                "meta_padding" => "",
                                "image_radius" => "500",
                                "image_height" => "100",
                                "meta_info_horiz" => "content-horiz-center",
                                "modules_category" => "above",
                                "modules_category_margin" => "0 0 8px 0",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - float left
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout3',
                                'tdc_preset_individual' => '1',
                                "image_width" => "30",
                                "image_floated" => "float_left",
                                "meta_padding" => "1% 5%",
                                "image_radius" => "",
                                "image_height" => "65",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - float left rounded
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout4',
                                'tdc_preset_individual' => '1',
                                "image_width" => "30",
                                "image_floated" => "float_left",
                                "meta_padding" => "1% 5%",
                                "image_radius" => "500",
                                "image_height" => "100",
                                "meta_info_horiz" => "",
                                "modules_category" => "",
                                "modules_category_margin" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Show/Hide module elements',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_elements',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Category tag', // Category tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_author" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_author" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Author', // Author
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_date" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_date" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Date', // Date
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_review" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_review" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Review stars', // Review
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_com" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_com" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Comment tag', // Comment tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Excerpt', // Excerpt
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Button', // Button
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Header settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "custom_title",
                            "type" => "textfield",
                            "value" => "RELATED ARTICLES",
                            "heading" => 'Custom title:',
                            "description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "info_img" => "https://cloud.tagdiv.com/help/custom_title.png",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Related',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mc1_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                            "info_img" => "https://cloud.tagdiv.com/help/title_length.png",
                        ),
                        array(
                            "param_name" => "mc1_title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'Paragraph' => 'p'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name"  => "mc1_el",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Excerpt length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Extra',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "related_articles_type",
                            "type" => "dropdown",
                            "value" => array(
                                '- Categories -' => '',
                                ' Tags '         => 'by_tags'
                            ),
                            "heading" => 'Related posts type',
                            "description" => "How to pick the related articles:
                            <br> - by category - pick posts from that have at least one category in common with the current post
                            <br> - by tags - pick posts that have at least one tag in common with the current post",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "related_articles_posts_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Related posts number:',
                            "description" => "How many related articles to show",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "3",
                        ),
                        array(
                            "param_name" => "related_articles_posts_offset",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Related posts offset:',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                        ),
                        array(
                            "param_name"  => "nextprev",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show next prev",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "container_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Container width (0-100 percent)',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_container.png",
                        ),
                        array(
                            "param_name"  => "modules_on_row",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Modules per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '20',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name"  => "m_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
                        ),
                        array(
                            "param_name"  => "all_modules_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules bottom space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "18",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
                        ),
                        array(
                            "param_name"  => "modules_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "modules_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_divider",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Modules divider',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
                        ),
                        array(
                            "param_name"  => "divider_on",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show all dividers",
                            "description" => "Display dividers on modules from the last row",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_all_dividers.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Modules divider color',
                            "param_name"  => "modules_divider_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Modules shadow',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 0, 0, 0, "Layout", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name"  => "h_effect",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Shadow'  => 'shadow',
                                'Move up & shadow'  => 'up-shadow',
                            ),
                            "heading"     => 'Hover effect',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "70",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "image_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (0-100 percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_floated",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Normal'      => 'no_float',
                                'Float left'  => 'float_left',
                                'Float right' => 'float_right',
                                'Hidden'      => 'hidden',
                            ),
                            "heading"     => 'Image position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
                        ),
                        array(
                            "param_name"  => "image_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name"  => "hide_image",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide image",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article video',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "video_icon",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "video_popup",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Enable video pop-up",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
                        ),
                        array(
                            "param_name" => "video_rec",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Video pop-up ad',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            'group' => 'Layout',
                        ),
                        array(
                            "param_name" => "video_rec_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
                            'group'      => 'Layout',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "video_rec_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "video_rec_disable",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "show_vid_t",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show video duration',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
                        ),
                        array(
                            "param_name"  => "vid_t_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
                        ),
                        array(
                            "param_name"  => "vid_t_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Video pop-up article title color',
                            "param_name"  => "video_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Video pop-up article title hover color',
                            "param_name"  => "video_title_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "video_bg",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
                        ),
                        array(
                            "param_name" => "video_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up overlay color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name" => "vid_t_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration text color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
                        ),
                        array(
                            "param_name" => "vid_t_bg_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article meta info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_info_align",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Default' => '',
                                'Top'     => 'initial',
                                'Center'  => 'center',
                                'Bottom'  => 'flex-end',
                            ),
                            "heading"     => 'Meta info alignment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name"  => "meta_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "7px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "art_title",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 6px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_excerpt",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
                        ),
                        array(
                            "param_name"  => "excerpt_col",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '1',
                                '2' => '2',
                                '3' => '3',
                            ),
                            "heading"     => 'Article excerpt columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_article_excerpt_columns.png",
                        ),
                        array(
                            "param_name"  => "excerpt_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt columns gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "48",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "art_audio",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Audio player space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
                        ),
                        array(
                            'param_name'  => 'art_audio_size',
                            'type'        => 'range-responsive',
                            'value'       => '1.5',
                            'heading'     => 'Audio player size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
                        ),
                        array(
                            "param_name"  => "art_btn",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Meta info border',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "meta_info_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_border_width.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "meta_info_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Over image'  => 'image',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_category_spacing",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "modules_cat_border",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
                        ),
                        array(
                            'param_name'  => 'modules_category_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
                        ),
                        array(
                            "param_name"  => "show_cat",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Author',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_author",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "author_photo",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show author photo",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
                        ),
                        array(
                            "param_name"  => "author_photo_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
                        ),
                        array(
                            "param_name"  => "author_photo_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
                        ),
                        array(
                            "param_name"  => "author_photo_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Date / Comment / Excerpt',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_date",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "time_ago_txt_pos",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "show_com",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show comment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
                        ),
                        array(
                            "param_name"  => "show_excerpt",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show excerpt',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
                        ),
                        array(
                            "param_name"  => "excerpt_middle",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Excerpt in middle",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "excerpt_inline",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Inline Excerpt",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_inline_excerpt_title.png",
                        ),
                        array(
                            "param_name"  => "show_audio",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Visible' => 'block',
                                'Hidden' => 'none',
                            ),
                            "heading"     => 'Show audio player',
                            "description" => "This will hide the audio player responsive",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name"  => "hide_audio",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Remove audio player",
                            "description" => "This will remove the audio player from code",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name"  => "meta_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta container space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_container_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_btn",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show button',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
                        ),
                        array(
                            "param_name"  => "btn_title",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Button text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "Read more",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
                        ),
                        array(
                            "param_name"  => "btn_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 20px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
                        ),
                        array(
                            "param_name"  => "btn_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "10px 15px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
                        ),
                        array(
                            "param_name"  => "btn_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
                        ),
                        array(
                            "param_name"  => "btn_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "pag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Top space',
                            "description" => "",
                            "placeholder" => "54",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
                        ),
                        array(
                            "param_name"  => "pag_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
                        ),
                        array(
                            "param_name"  => "pag_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
                        ),
                        array(
                            "param_name"  => "pag_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            'param_name' => 'prev_tdicon',
                            'type' => 'icon',
                            'heading' => 'Prev icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            'param_name' => 'next_tdicon',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            "param_name"  => "pag_icons_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icons size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Block fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Module background',
                            "param_name"  => "m_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "color_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Module image overlay",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "all_underline_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Underline size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Hover underline color',
                            "param_name"  => "all_underline_color",
                            "value"       => '#000',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category border color',
                            "param_name"  => "cat_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category border hover',
                            "param_name"  => "cat_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'AUTHOR / DATE / COMMENT / EXCERPT',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Excerpt text color',
                            "param_name"  => "ex_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment background',
                            "param_name"  => "com_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment text color',
                            "param_name"  => "com_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Buttons color',
                            "param_name"  => "audio_btn_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Time text color',
                            "param_name"  => "audio_time_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars background color',
                            "param_name"  => "audio_bar_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars progress color',
                            "param_name"  => "audio_bar_curr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button background',
                            "param_name"  => "btn_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button background hover',
                            "param_name"  => "btn_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button text color',
                            "param_name"  => "btn_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button text hover',
                            "param_name"  => "btn_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button border color',
                            "param_name"  => "btn_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button border hover',
                            "param_name"  => "btn_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev arrows color',
                            "param_name"  => "nextprev_icon",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev hover arrows color',
                            "param_name"  => "nextprev_icon_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev background color',
                            "param_name"  => "nextprev_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev hover background color',
                            "param_name"  => "nextprev_bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev border color',
                            "param_name"  => "nextprev_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev hover border color',
                            "param_name"  => "nextprev_border_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_related_author',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single More From Author',
                "base" => "tdb_single_related_author",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_related_author.php',
                'tdc_style_params' => array(
                    'custom_title',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'modules_on_row' => '33.33333333%',
                                'modules_category' => 'image',
                                'show_author' => 'none',
                                'show_date' => 'none',
                                'show_com' => 'none',
                                'show_excerpt' => 'none',
                                'show_btn' => 'none',
                                "ajax_pagination" => "next_prev",
                                "hide_audio" => "yes"
                            ),


                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat/Garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "394",
                                "f_ex_font_family" =>           "fs_4",
                                "f_btn_font_family" =>          "fs_4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title_font_family" =>        "721",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway/Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "507",
                                "f_ex_font_family" =>           "507",
                                "f_btn_font_family" =>          "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "653",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette/Open Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "147",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald/EB garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "445",
                                "f_ex_font_family" =>           "185",
                                "f_btn_font_family" =>          "185",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "406",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "646",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton/Roboto Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "41",
                                "f_ex_font_family" =>           "523",
                                "f_btn_font_family" =>          "523",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "502",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "331",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "663",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn/Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "639",
                                "f_ex_font_family" =>           "394",
                                "f_btn_font_family" =>          "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title_font_line_height" => "1.3",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title_font_line_height" => "1.4",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyMSIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxNyJ9",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyNiIsImxhbmRzY2FwZSI6IjI1IiwicG9ydHJhaXQiOiIyMSIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_ex_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),

                            array(
                                'tdc_preset_name' => 'Text alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Image format',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_image',
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - OFF
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image1',
                                'tdc_preset_individual' => '1',
                                "hide_image" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 2:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image2',
                                'tdc_preset_individual' => '1',
                                "image_height" => "150",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image3',
                                'tdc_preset_individual' => '1',
                                "image_height" => "133",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 7:8
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image4',
                                'tdc_preset_individual' => '1',
                                "image_height" => "114",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 1:1
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image5',
                                'tdc_preset_individual' => '1',
                                "image_height" => "100",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 5:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image6',
                                'tdc_preset_individual' => '1',
                                "image_height" => "80",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 4:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image7',
                                'tdc_preset_individual' => '1',
                                "image_height" => "75",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:2
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image8',
                                'tdc_preset_individual' => '1',
                                "image_height" => "67",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 16:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image9',
                                'tdc_preset_individual' => '1',
                                "image_height" => "56",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 18:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image10',
                                'tdc_preset_individual' => '1',
                                "image_height" => "50",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 21:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image11',
                                'tdc_preset_individual' => '1',
                                "image_height" => "40",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 30:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image12',
                                'tdc_preset_individual' => '1',
                                "image_height" => "30",
                                "hide_image" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Color library',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_color',
                            ),
                            array(
                                'tdc_preset_name' => '', // Color library
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color1',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f9c100',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color2',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff7500',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color3',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f44336',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color4',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff036e',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color5',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#58c7db',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color6',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#607d8b',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color7',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#005689',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color8',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#997df3',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color9',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#4caf50',
                            ),

                            array(
                                'tdc_preset_name' => 'Columns',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_col',
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 1
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col1',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "",
                                "modules_gap" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 2
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col2',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "eyJhbGwiOiIxLjYlIiwicG9ydHJhaXQiOiIyJSJ9",
                                "limit" => "2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 3
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col3',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1.4%",
                                "limit" => "3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 4
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col4',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyNSUiLCJwaG9uZSI6IjUwJSJ9",
                                "modules_gap" => "eyJhbGwiOiIxLjIlIiwicGhvbmUiOiIzJSJ9",
                                "limit" => "4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 5
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col5',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyMCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1%",
                                "limit" => "5",
                                "image_width" => "eyJwaG9uZSI6IjMwIn0=",
                                "image_floated" => "eyJwaG9uZSI6ImZsb2F0X2xlZnQifQ==",
                                "meta_padding" => "eyJwaG9uZSI6IjJweCAwIDAgMTZweCJ9",
                                "all_modules_space" => "eyJhbGwiOiIzNiIsInBob25lIjoiMjUifQ==",
                            ),

                            array(
                                'tdc_preset_name' => 'Layout style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_layout',
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout1',
                                'tdc_preset_individual' => '1',
                                "image_width" => "",
                                "image_floated" => "",
                                "meta_padding" => "",
                                "image_radius" => "",
                                "image_height" => "65",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal rounded
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout2',
                                'tdc_preset_individual' => '1',
                                "image_width" => "80",
                                "image_floated" => "",
                                "meta_padding" => "",
                                "image_radius" => "500",
                                "image_height" => "100",
                                "meta_info_horiz" => "content-horiz-center",
                                "modules_category" => "above",
                                "modules_category_margin" => "0 0 8px 0",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - float left
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout3',
                                'tdc_preset_individual' => '1',
                                "image_width" => "30",
                                "image_floated" => "float_left",
                                "meta_padding" => "1% 5%",
                                "image_radius" => "",
                                "image_height" => "65",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - float left rounded
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout4',
                                'tdc_preset_individual' => '1',
                                "image_width" => "30",
                                "image_floated" => "float_left",
                                "meta_padding" => "1% 5%",
                                "image_radius" => "500",
                                "image_height" => "100",
                                "meta_info_horiz" => "",
                                "modules_category" => "",
                                "modules_category_margin" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Show/Hide module elements',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_elements',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Category tag', // Category tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_author" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_author" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Author', // Author
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_date" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_date" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Date', // Date
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_review" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_review" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Review stars', // Review
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_com" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_com" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Comment tag', // Comment tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Excerpt', // Excerpt
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Button', // Button
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Header settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "custom_title",
                            "type" => "textfield",
                            "value" => "MORE FROM AUTHOR",
                            "heading" => 'Custom title:',
                            "description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "info_img" => "https://cloud.tagdiv.com/help/custom_title.png",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Related',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mc1_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                            "info_img" => "https://cloud.tagdiv.com/help/title_length.png",
                        ),
                        array(
                            "param_name" => "mc1_title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'Paragraph' => 'p'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name"  => "mc1_el",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Excerpt length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Extra',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "related_articles_posts_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Related posts number:',
                            "description" => "How many related articles to show",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "3",
                        ),
                        array(
                            "param_name" => "related_articles_posts_offset",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Related posts offset:',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                        ),
                        array(
                            "param_name"  => "nextprev",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show next prev",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "container_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Container width (0-100 percent)',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_container.png",
                        ),
                        array(
                            "param_name"  => "modules_on_row",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Modules per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '20',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name"  => "m_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
                        ),
                        array(
                            "param_name"  => "all_modules_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules bottom space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "18",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
                        ),
                        array(
                            "param_name"  => "modules_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "modules_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_divider",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Modules divider',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Modules divider color',
                            "param_name"  => "modules_divider_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Modules shadow',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 0, 0, 0, "Layout", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name"  => "h_effect",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Shadow'  => 'shadow',
                                'Move up & shadow'  => 'up-shadow',
                            ),
                            "heading"     => 'Hover effect',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "70",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "image_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (0-100 percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_floated",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Normal'      => 'no_float',
                                'Float left'  => 'float_left',
                                'Float right' => 'float_right',
                                'Hidden'      => 'hidden',
                            ),
                            "heading"     => 'Image position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
                        ),
                        array(
                            "param_name"  => "image_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name"  => "hide_image",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide image",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article video',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "video_icon",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "video_popup",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Enable video pop-up",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
                        ),
                        array(
                            "param_name" => "video_rec",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Video pop-up ad',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            'group' => 'Layout',
                        ),
                        array(
                            "param_name" => "video_rec_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
                            'group'      => 'Layout',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "video_rec_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "video_rec_disable",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "show_vid_t",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show video duration',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
                        ),
                        array(
                            "param_name"  => "vid_t_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
                        ),
                        array(
                            "param_name"  => "vid_t_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Video pop-up article title color',
                            "param_name"  => "video_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Video pop-up article title hover color',
                            "param_name"  => "video_title_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "video_bg",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
                        ),
                        array(
                            "param_name" => "video_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up overlay color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name" => "vid_t_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration text color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
                        ),
                        array(
                            "param_name" => "vid_t_bg_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article meta info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_info_align",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Default' => '',
                                'Top'     => 'initial',
                                'Center'  => 'center',
                                'Bottom'  => 'flex-end',
                            ),
                            "heading"     => 'Meta info alignment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name"  => "meta_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "7px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "art_title",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 6px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_excerpt",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
                        ),
                        array(
                            "param_name"  => "excerpt_col",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '1',
                                '2' => '2',
                                '3' => '3',
                            ),
                            "heading"     => 'Article excerpt columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_article_excerpt_columns.png",
                        ),
                        array(
                            "param_name"  => "excerpt_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt columns gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "48",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "art_audio",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Audio player space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
                        ),
                        array(
                            'param_name'  => 'art_audio_size',
                            'type'        => 'range-responsive',
                            'value'       => '1.5',
                            'heading'     => 'Audio player size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
                        ),
                        array(
                            "param_name"  => "art_btn",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Meta info border',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "meta_info_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_border_width.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "meta_info_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Over image'  => 'image',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_category_spacing",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            'param_name'  => 'modules_category_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
                        ),
                        array(
                            "param_name"  => "show_cat",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Author',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_author",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "author_photo",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show author photo",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
                        ),
                        array(
                            "param_name"  => "author_photo_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
                        ),
                        array(
                            "param_name"  => "author_photo_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
                        ),
                        array(
                            "param_name"  => "author_photo_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Date / Comment / Excerpt',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_date",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "time_ago_txt_pos",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "show_com",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show comment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
                        ),
                        array(
                            "param_name"  => "show_excerpt",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show excerpt',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
                        ),
                        array(
                            "param_name"  => "excerpt_middle",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Excerpt in middle",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_audio",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Visible' => 'block',
                                'Hidden' => 'none',
                            ),
                            "heading"     => 'Show audio player',
                            "description" => "This will hide the audio player responsive",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name"  => "hide_audio",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Remove audio player",
                            "description" => "This will remove the audio player from code",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_btn",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show button',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
                        ),
                        array(
                            "param_name"  => "btn_title",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Button text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "Read more",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
                        ),
                        array(
                            "param_name"  => "btn_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 20px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
                        ),
                        array(
                            "param_name"  => "btn_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "10px 15px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
                        ),
                        array(
                            "param_name"  => "btn_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
                        ),
                        array(
                            "param_name"  => "btn_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "pag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Top space',
                            "description" => "",
                            "placeholder" => "54",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
                        ),
                        array(
                            "param_name"  => "pag_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
                        ),
                        array(
                            "param_name"  => "pag_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
                        ),
                        array(
                            "param_name"  => "pag_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            'param_name' => 'prev_tdicon',
                            'type' => 'icon',
                            'heading' => 'Prev icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            'param_name' => 'next_tdicon',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            "param_name"  => "pag_icons_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icons size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Block fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Module background',
                            "param_name"  => "m_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "color_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Module image overlay",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'AUTHOR / DATE / COMMENT / EXCERPT',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Excerpt text color',
                            "param_name"  => "ex_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment background',
                            "param_name"  => "com_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment text color',
                            "param_name"  => "com_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Buttons color',
                            "param_name"  => "audio_btn_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Time text color',
                            "param_name"  => "audio_time_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars background color',
                            "param_name"  => "audio_bar_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars progress color',
                            "param_name"  => "audio_bar_curr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button background',
                            "param_name"  => "btn_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button background hover',
                            "param_name"  => "btn_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button text color',
                            "param_name"  => "btn_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button text hover',
                            "param_name"  => "btn_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button border color',
                            "param_name"  => "btn_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button border hover',
                            "param_name"  => "btn_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev arrows color',
                            "param_name"  => "nextprev_icon",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev hover arrows color',
                            "param_name"  => "nextprev_icon_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev background color',
                            "param_name"  => "nextprev_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev hover background color',
                            "param_name"  => "nextprev_bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev border color',
                            "param_name"  => "nextprev_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev hover border color',
                            "param_name"  => "nextprev_border_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_comments',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Comments',
                "base" => "tdb_single_comments",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_comments.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "form_layout" => "2",
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Header settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
	                    array(
		                    "param_name" => "hide_header_template",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Hide Header Title',
		                    "description" => "Show or hide the header title for comments section.",
		                    "holder" => "div",
		                    "class" => ""
	                    ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Comments settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author name color',
                            "param_name"  => "auth_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_name_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author name hover color',
                            "param_name"  => "auth_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "avatar_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Author avatar radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_av_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Meta info color',
                            "param_name"  => "meta_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_meta_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Meta info hover color',
                            "param_name"  => "meta_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "meta_show",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => '',
                                'Hide'  => 'none',
                            ),
                            "heading"     => 'Meta info show',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_meta_show.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_descr_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Reply button color',
                            "param_name"  => "reply_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_reply_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Reply button hover color',
                            "param_name"  => "reply_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Edit button color',
                            "param_name"  => "edit_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Edit button hover color',
                            "param_name"  => "edit_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "sep_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Separator size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_sep_size.png",
                        ),
                        array(
                            "param_name"  => "sep_style",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Dashed' => '',
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                            ),
                            "heading"     => 'Separator style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_sep_style.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Separator color',
                            "param_name"  => "sep_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_sep_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Comment form settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "form_layout",
                            "type" => "dropdown",
                            "value" => array(
                                'Layout 1'  => '1',
                                'Layout 2'  => '2',
                                'Layout 3'  => '3',
                                'Layout 4'  => '4',
                                'Layout 5'  => '5',
                            ),
                            "heading" => 'Form layout',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-comm-layout tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_layout.png",
                        ),
                        array(
                            "param_name" => "leave_reply_top",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show Leave A Reply form on top',
                            "description" => "Show Leave a reply form above the comments.",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Form title color',
                            "param_name"  => "form_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Form agreement color',
                            "param_name"  => "form_agree_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_agree_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Inputs',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Input background color',
                            "param_name"  => "bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_input_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Input background focus color',
                            "param_name"  => "bg_f_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Input text color',
                            "param_name"  => "input_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_input_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Input placeholder color',
                            "param_name"  => "placeholder_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_placeholder_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "param_name" => "input_border_size",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Input border size',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_input_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Input border color',
                            "param_name"  => "input_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_input_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Input border focus color',
                            "param_name"  => "input_border_f_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "input_border_radius",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Input border radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_input_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Submit button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button text color',
                            "param_name"  => "btn_txt_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_btn_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button text hover color',
                            "param_name"  => "btn_txt_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button background color',
                            "param_name"  => "btn_bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_btn_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button background hover color',
                            "param_name"  => "btn_bg_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Button border radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_btn_radius.png",
                        ),
                        array(
                            "param_name"  => "btn_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "8px 15px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_btn_padding.png",
                        ),
                        array(
                            "param_name" => "btn_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Button align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/single_comm_btn_align.png",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Fonts', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_auth', false, 'Author name', 'Fonts' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Meta info text', 'Fonts' ),
                    td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text', 'Fonts' ),
                    td_config_helper::get_map_block_font_array( 'f_reply', false, 'Reply button text', 'Fonts' ),
                    td_config_helper::get_map_block_font_array( 'f_frm_title', false, 'Form title text', 'Fonts' ),
                    td_config_helper::get_map_block_font_array( 'f_input', false, 'Form input text', 'Fonts' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Form button text', 'Fonts' ),
                    td_config_helper::get_map_block_font_array( 'f_agreement', false, 'Form agreement text', 'Fonts' ),
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_single_smartlist',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Smartlist',
                "base" => "tdb_single_smartlist",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_smartlist.php',
                'tdc_style_params' => array(
                    'sm_ad',
                    'sm_ad_title',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name"  => "sm_type",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Sm 1'  => 'tdb_smart_list_1',
                                'Sm 2'  => 'tdb_smart_list_2',
                                'Sm 3'  => 'tdb_smart_list_3',
                                'Sm 4'  => 'tdb_smart_list_4',
                                'Sm 5'  => 'tdb_smart_list_5',
                                'Sm 6'  => 'tdb_smart_list_6'
                            ),
                            "heading"     => 'Smart list type',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_type.png",
                        ),
                        array(
                            "param_name"  => "sm_h",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Heading 1 ( H1 tag )' => 'h1',
                                'Heading 2 ( H2 tag )' => 'h2',
                                'Heading 3 ( H3 tag )' => 'h3',
                                'Heading 4 ( H4 tag )' => 'h4',
                                'Heading 5 ( H5 tag )' => 'h5',
                                'Heading 6 ( H6 tag )' => 'h6',
                            ),
                            "heading"     => 'Break to',
                            "description" => "Customize what H tag is used for Title lookup. Choose the same H tag you set in the post content.",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name"  => "sm_title_tag",
                            "type"        => "dropdown",
                            "value"       => array(
                                'H2 - Default' => 'h2',
                                'H1' => 'h1',
                                'H3' => 'h3',
                                'H4' => 'h4',
                                'H5' => 'h5',
                                'H6' => 'h6',
                            ),
                            "heading"     => 'Title tag (SEO)',
                            "description" => "Selected h tag will appear in HTML for smartlist titles",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name"  => "sm_order",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Descending (ex: 3, 2, 1)' => '',
                                'Ascending (ex: 1, 2, 3)'  => 'asc_1'
                            ),
                            "heading"     => 'Smart list numbering',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_numbering.png",
                        ),
                        array(
                            "param_name" => "first_image_size",
                            "type" => "dropdown",
                            "value" => self::get_theme_thumbs(),
                            "heading" => 'Featured image size',
                            "description" => "Set the featured image size.",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name"  => "icon_size",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Next/Prev icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '14',
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_icons_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                            'group'      => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title color',
                            "param_name"  => "title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counter text color',
                            "param_name"  => "counter_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_counter_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counter background color',
                            "param_name"  => "counter_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_counter_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title color',
                            "param_name"  => "title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Image caption color',
                            "param_name"  => "caption_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_caption_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_descr_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev text color',
                            "param_name"  => "nextprev_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_pag_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev text hover color',
                            "param_name"  => "nextprev_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Next prev background color',
                            "param_name"  => "nextprev_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_pag_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Next prev background hover color',
                            "param_name"  => "nextprev_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    td_config_helper::get_map_block_font_array( 'f_counter', false, 'Counter text' ),
                    td_config_helper::get_map_block_font_array( 'f_caption', false, 'Image caption text' ),
                    td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text' ),
                    td_config_helper::get_map_block_font_array( 'f_nextprev', false, 'Next prev text' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Ads',
                            "value"      => "",
                            "class"      => "",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "sm_ad",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'This only applies on Smart List 4, 5, and 6.',
                            'group'      => 'Ads',
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_rec.png",
                        ),
                        array(
                            "param_name" => "sm_ad_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            'group'      => 'Ads',
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_rec_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Ad title color',
                            "param_name"  => "ad_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Ads",
                            "info_img" => "https://cloud.tagdiv.com/help/single_sm_rec_title_color.png",
                        ),
                        array(
                            "param_name" => "sm_ad_disable",
                            "type" => "checkbox",
                            "value" => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group"       => "Ads",
                        ),
                    ),
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_single_review_overview',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Review Overview',
                "base" => "tdb_single_review_overview",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_review_overview.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                'block_template_id' => 'td_block_template_3',
                                'f_header_font_size' => '14',
                                "rating_align_horiz" => "content-horiz-center",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "custom_title",
                            "type" => "textfield",
                            "value" => "REVIEW OVERVIEW",
                            "heading" => 'Custom title:',
                            "description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "",
                            "group" => ""
                        ),
                        array(
                            'param_name' => 'el_class',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Extra class',
                            'description' => 'Style particular content element differently - add a class name and refer to it in custom CSS',
                            'class' => 'tdc-textfield-extrabig',
                            "group" => ""
                        ),
                        array(
                            "param_name"  => "label_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Label padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "7px 14px",
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_label_padd.png",
                        ),
                        array(
                            "param_name"  => "rating_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Rating padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "7px 14px",
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_rating_padd.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Rows background color',
                            "param_name"  => "bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_row_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Rows hover background color',
                            "param_name"  => "bg_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Stars",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Features name color',
                            "param_name"  => "feat_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_feat_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Rows hover features name color',
                            "param_name"  => "feat_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Stars",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Stars',
                        ),
                        array(
                            "param_name" => "label_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Label horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => 'Stars',
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_label_horiz_align.png",
                        ),
                        array(
                            "param_name" => "rating_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Rating horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => 'Stars',
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_rating_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Stars',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Stars",
                        ),
                        array(
                            "param_name" => "stars_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Stars size',
                            "description" => "",
                            "placeholder" => "15",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_size.png",
                        ),
                        array(
                            "param_name" => "stars_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Stars space',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_space.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Stars color',
                            "param_name"  => "stars_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Rows hover stars color',
                            "param_name"  => "stars_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Stars",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Borders',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Stars",
                        ),
                        array(
                            "param_name"  => "all_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Box border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1px 1px 1px 1px",
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_box_border_size.png",
                        ),
                        array(
                            "param_name"  => "row_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Row border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_row_border_size.png",
                        ),
                        array(
                            "param_name"  => "sep_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Separator border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_sep_border_size.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Borders color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Stars",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_stars_borders_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "group"       => "Stars",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_feat', true, 'Features name text', 'Stars' ),

                    array(
                        array(
                            "param_name"  => "pp_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Row padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "7px 14px 14px",
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_row_padd.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Features name color',
                            "param_name"  => "feat_pp_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_feat_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Values text color',
                            "param_name"  => "val_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_val_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Percent & Pts",
                        ),
                        array(
                            "param_name"  => "bar_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Bar height',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_bar_height.png",
                        ),
                        array(
                            "param_name" => "bar_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Bar color",
                            "value" => "",
                            "class" => "",
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_bar_color.png",
                        ),
                        array(
                            "param_name" => "bar_bg_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Bar background color",
                            "value" => "",
                            "class" => "",
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_bar_bg.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Borders',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Percent & Pts",
                        ),
                        array(
                            "param_name"  => "all_pp_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Box border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1px 1px 1px 1px",
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_box_border_size.png",
                        ),
                        array(
                            "param_name"  => "pp_row_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Row border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_row_border_size.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Borders color',
                            "param_name"  => "all_pp_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Percent & Pts",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revo_points_borders_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "",
                            "group"       => "Percent & Pts",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_pp_feat', true, 'Features name text', 'Percent & Pts' ),
                    td_config_helper::get_map_block_font_array( 'f_val', false, 'Values text', 'Percent & Pts' ),
                    array(
                        array (
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    )
                )
            )
        );

        td_api_block::add('tdb_single_review_overall',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Review Overall',
                "base" => "tdb_single_review_overall",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_review_overall.php',
                'tdc_style_params' => array(
                    'title',
                    'el_class'
                ),
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "content_align_horiz" => "content-horiz-center",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title",
                            "type" => "textfield",
                            "value" => 'OVERALL SCORE',
                            "heading" => 'Title text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_title_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title text color',
                            "param_name"  => "title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Final score color',
                            "param_name"  => "final_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_score_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "stars_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Stars size',
                            "description" => "",
                            "placeholder" => "15",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_stars_size.png",
                        ),
                        array(
                            "param_name" => "stars_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Stars space',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_stars_space.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Stars color',
                            "param_name"  => "stars_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_stars_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Box padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "7px 14px 35px 14px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_box_padd.png",
                        ),
                        array(
                            "param_name"  => "all_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1px 1px 1px 1px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_border_size.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "content_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "",
                            "group" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    td_config_helper::get_map_block_font_array( 'f_final', false, 'Final score text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_review_summary',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Review Summary',
                "base" => "tdb_single_review_summary",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_review_summary.php',
                'tdc_style_params' => array(
                    'custom_title',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'block_template_id' => 'td_block_template_3',
                                'f_header_font_size' => '14',
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "custom_title",
                            "type" => "textfield",
                            "value" => "SUMMARY",
                            "heading" => 'Custom title:',
                            "description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revs_descr_color.png",
                        ),
                        array(
                            "param_name"  => "padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Box padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "21px 14px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revs_box_padd.png",
                        ),
                        array(
                            "param_name"  => "all_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1px 1px 1px 1px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revs_box_border_size.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revs_box_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "param_name" => "content_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revs_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "",
                            "group" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_reading_time',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Reading Time',
                "base" => "tdb_single_reading_time",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_reading_time.php',
                'tdc_style_params' => array(
                    'minute_text',
                    'add_text',
                    'tdicon',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'tdicon' => 'tdc-font-fa tdc-font-fa-clock-o',
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "minute_text",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Minutes text',
                            "description" => "",
                            "placeholder" => "min.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "less_than_txt",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Less than 1',
                            "description" => "Text for less that 1 min reading time.",
                            "placeholder" => "Less than 1",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "add_text",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Additional text',
                            "description" => "Adds text between the icon and the counter.",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "add_text_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additinal text space',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "add_text_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before counter' => '',
                                'After counter' => 'after',
                            ),
                            "heading" => 'Additional text position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon size',
                            "description" => "",
                            "placeholder" => "14",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon space',
                            "description" => "",
                            "placeholder" => "5",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '-1',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Reading time color',
                            "param_name"  => "read_time_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "add_text_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_views', true, 'Reading time text' ),
                    td_config_helper::get_map_block_font_array( 'f_add_txt', false, 'Additional text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_reading_progress',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Reading Progress Bar',
                "base" => "tdb_single_reading_progress",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_reading_progress.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "bar_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Top of the page' => '',
                                'Bottom of the page' => 'bottom',
                                'Inline' => 'inline',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-extrabig",
                        ),
                        array(
                            "param_name" => "bar_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Height',
                            "description" => "",
                            "placeholder" => "8",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Fill color',
                            "param_name"  => "bar_fill",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('bar_fill_shadow', 'Fill shadow', 0, 0, 2),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_custom_field',
            array(
                'map_in_td_composer' => true,
                "name" => 'Custom Field',
                "base" => "tdb_single_custom_field",
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_custom_field.php',
                'tdc_style_params' => array(
                    'wp_field',
                    'acf_field',
                    'plan_id',
                    'url',
                    'open_in_new_window',
                    'url_rel',
                    'add_txt',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name"  => "wp_field",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Custom field name',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-extrabig",
                            "placeholder" => "",
                            'toggle_enable_params' => 'wp-field',
                            'toggle_enable_params_reverse' => true,
                        ),
                        self::get_acf_fields_param(),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "display",
                            "type" => "dropdown",
                            "value" => array(
                                'Columns' => 'row',
                                'Row' => 'column',
                            ),
                            "heading" => "Display",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Make inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "horiz_align",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "vert_align",
                            "type" => "dropdown",
                            "value" => array(
                                'Baseline' => 'content-vert-baseline',
                                'Top' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Bottom' => 'content-vert-bottom'
                            ),
                            "heading" => 'Vertical align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                         array(
                            "param_name"  => "text_cut",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Text length',
                            "description" => "It changes the length for the text or textarea types.",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'URL',
                            "value" => "",
                            "class" => "tdc-separator-url",
                            "group" => '',
                        ),
                        array(
                            "param_name"  => "url",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'URL',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-extrabig",
                            "placeholder" => "",
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open url in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "modal_image",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open image in Lightbox.",
                            "description" => "This option will only apply if CF type is image and the identical CF is utilized both in the ACF Field and the URL spot.",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "url_rel",
                            "type" => "dropdown",
                            "value" => array(
                                'Disable' => '',
                                'Nofollow' => 'nofollow',
                                'Noopener' => 'noopener',
                                'Noreferrer' => 'noreferrer'
                            ),
                            "heading" => "Set rel attribute",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Additional text',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name"  => "add_txt",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Additional text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                        ),
                        array(
                            "param_name"  => "add_txt_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                        ),
                        array(
                            "param_name"  => "add_txt_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                        ),
                        array(
                            "param_name" => "add_txt_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before field value' => '',
                                'After field value' => 'after',
                            ),
                            "heading" => "Position",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "add_txt_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_add', false, 'Additional text' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon size',
                            "description" => "",
                            "placeholder" => "14",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Icon space',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "icon_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before field value' => '',
                                'After field value' => 'after',
                                'Before additional text' => 'before_add',
                                'After additional text' => 'after_add',
                            ),
                            "heading" => "Position",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),

                    td_util::get_display_restrictions_atts(),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Regular text',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Field value color',
                            "param_name"  => "txt_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Fields styles",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Field value hover color',
                            "param_name"  => "txt_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Fields styles",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Fields styles',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Field value', 'Fields styles' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Checkbox & Select',
                            "value"      => "",
                            "class"      => "tdc-separator-checkbox-select",
                            "group"       => "Fields styles",
                        ),
                        array(
                            "param_name" => "display_list",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display as list',
                            "description" => "The checkbox and select multiple choices will be displayed as a list.",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Fields styles",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'List color',
                            "param_name"  => "list_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Fields styles",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small tdc-separator-checkbox-select",
                            "group"       => 'Fields styles',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_list', true, 'Field value', 'Fields styles' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Images',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
					    array(
						    "param_name"  => "img_width",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Width',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "auto",
                            "group"       => "Fields styles",
					    ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Videos',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
					    array(
						    "param_name"  => "vid_width",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Width',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "400",
                            "group"       => "Fields styles",
					    ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Audio players',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
					    array(
						    "param_name"  => "aud_width",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Width',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "400",
                            "group"       => "Fields styles",
					    ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Taxonomies',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
					    array(
						    "param_name"  => "tax_padding",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Padding',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "5px 8px",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_padding.png",
                            "group"       => "Fields styles",
					    ),
					    array(
						    "param_name"  => "tax_space",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Spacing',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "0 5px 0 0",
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_space.png",
                            "group"       => "Fields styles",
					    ),
					    array(
						    'param_name' => 'tax_radius',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Border radius',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '100',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_radius.png",
                            "group"       => "Fields styles",
					    ),
					    array(
						    'param_name' => 'tax_border',
						    'type' => 'range-responsive',
						    'value' => '1',
						    'heading' => 'Border size',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '0',
						    'range_max' => '10',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_width.png",
                            "group"       => "Fields styles",
					    ),
					    array(
						    'param_name' => 'tax_skew',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Skew',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-40',
						    'range_max' => '40',
						    'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_skew.png",
                            "group"       => "Fields styles",
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
                            "group"       => "Fields styles",
					    ),
					    array(
						    "param_name" => "tax_style",
						    "type" => "dropdown",
						    "value" => array(
							    'Default' => '',
							    'Solid' => 'bordered',
							    'Rainbow' => 'rainbow',
						    ),
						    "heading" => 'Style',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-big",
                            "group"       => "Fields styles",
					    ),
					    array(
						    "param_name" => "tax_bg",
						    "type" => "gradient",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Background color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_background_color.png",
                            "group"       => "Fields styles",
					    ),
                        array(
                            "param_name" => "tax_bg_h",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "value" => '',
                            "description" => '',
                            "group"       => "Fields styles",
                        ),
					    array(
						    "param_name" => "tax_color",
						    "type" => "colorpicker",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Text color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_text_color.png",
                            "group"       => "Fields styles",
					    ),
                        array(
                            "param_name" => "tax_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "value" => '',
                            "description" => '',
                            "group"       => "Fields styles",
                        ),
					    array(
						    "param_name" => "tax_border_color",
						    "type" => "gradient",
						    "holder" => "div",
						    "class" => "td-colorpicker-double-a",
						    "heading" => 'Border color',
						    "value" => '',
						    "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/post_categories_border_color.png",
                            "group"       => "Fields styles",
					    ),
                        array(
                            "param_name" => "tax_border_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Border hover color',
                            "value" => '',
                            "description" => '',
                            "group"       => "Fields styles",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
                            "group"       => "Fields styles",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_tax', true, 'Text', 'Fields styles' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Documnets',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
                        array(
                            "param_name" => "doc_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "400",
                            "group" => "Fields styles",
                        ),
                        array(
                            "param_name" => "doc_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "142",
                            "group" => "Fields styles",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "doc_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Icon color',
                            "param_name" => "doc_ico_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'File name color',
                            "param_name" => "doc_name_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Fields styles",
                        ),
                        array(
                            "param_name" => "all_doc_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "Fields styles",
                        ),
                        array(
                            "param_name" => "all_doc_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Fields styles",
                        ),
                        array(
                            "param_name" => "doc_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_doc_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Download button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "doc_btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "doc_btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "doc_btn_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "param_name" => "doc_btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Users',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
                        array(
                            "param_name" => "usr_display",
                            "type" => "dropdown",
                            "value" => array(
                                'Inline list' => '',
                                'Newline' => 'newline',
                            ),
                            "heading" => 'Users display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Fields styles",
                            "toggle_enable_params" => "usr_display"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'User name color',
                            "param_name" => "usr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'User name hover color',
                            "param_name" => "usr_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Comma separator color',
                            "param_name" => "usr_sep_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                            "toggle_enabled_by" => "usr_display--"
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
                            "group"       => "Fields styles",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_usr', true, 'Text', 'Fields styles' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Posts',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
                        array(
                            "param_name" => "posts_display",
                            "type" => "dropdown",
                            "value" => array(
                                'Inline list' => '',
                                'Newline' => 'newline',
                            ),
                            "heading" => 'Posts display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Fields styles",
                            "toggle_enable_params" => "posts_display"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Post title color',
                            "param_name" => "post_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Post title hover color',
                            "param_name" => "post_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Comma separator color',
                            "param_name" => "posts_sep_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Fields styles",
                            "toggle_enabled_by" => "posts_display--"
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
                            "group"       => "Fields styles",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_post', true, 'Text', 'Fields styles' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'WYSIWYG editor',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Fields styles",
                        ),
	                    array(
		                    "param_name"  => "e_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'Content color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Fields styles"
	                    ),
	                    array(
		                    "param_name"  => "e_h_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'H1-6 color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Fields styles"
	                    ),
	                    array(
		                    "param_name"  => "e_a_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "td-colorpicker-double-a",
		                    "heading"     => 'Links color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Fields styles",
	                    ),
	                    array(
		                    "param_name"  => "e_a_color_h",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "td-colorpicker-double-b",
		                    "heading"     => 'Links hover color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Fields styles",
	                    ),
	                    array(
		                    "param_name"  => "e_bq_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'Default blockquote color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "Fields styles"
	                    ),
                        array(
                            "param_name"  => "e_caption_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Image caption text color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Fields styles"
                        ),
                        array(
                            "param_name"  => "e_li_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Lists text color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "Fields styles"
                        ),
	                    array(
		                    "param_name" => "separator",
		                    "type" => "horizontal_separator",
		                    "value" => "",
		                    "class" => "tdc-separator-small",
                            "group" => "Fields styles",
	                    ),
                    ),
	                td_config_helper::get_map_block_font_array( 'f_e', true, 'Content', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_h1', false, 'H1', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_h2', false, 'H2', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_h3', false, 'H3', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_h4', false, 'H4', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_h5', false, 'H5', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_h6', false, 'H6', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_list', false, 'Lists', 'Fields styles' ),
	                td_config_helper::get_map_block_font_array( 'f_e_bq', false, 'Default blockquote', 'Fields styles' ),
                    td_config_helper::get_map_block_font_array( 'f_e_caption', false, 'Image caption text', 'Fields styles' ),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_location_display',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Location Display',
                "base" => "tdb_single_location_display",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_location_display.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
//                        array(
//                            "param_name" => "tax_type",
//                            "type" => "textfield",
//                            "value" => '',
//                            "heading" => "Taxonomy type",
//                            "description" => "",
//                            "holder" => "div",
//                            "class" => "tdc-textfield-big",
//                            "placeholder" => "category"
//                        ),
                        array(
                            "param_name" => "service",
                            "type" => "dropdown",
                            "value" => array(
                                'Google' => '',
                                'Bing' => 'bing',
                            ),
                            "heading" => 'Maps service provider',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "location_meta",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Complete location post meta",
                            "description" => "Post meta where the complete location is stored.",
                            "holder" => "div",
                            "class" => "tdc-textfield-exxtrabig",
                            "placeholder" => "tdb-location-complete",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "map_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Height',
                            "description" => "",
                            "placeholder" => '400',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_user_reviews_form',
            array(
                "map_in_td_composer" => true,
                "name" => 'Single Post User Reviews Form',
                "base" => 'tdb_single_user_reviews_form',
                "tdc_category" => 'Single post',
                "file" => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_user_reviews_form.php',
                'tdc_style_params' => array(
                    'criteria_ids',
                    'review_priv',
                    'reviews_status',
                    'header_txt',
                    'tdicon_star',
                    'show_notif',
                    'limit_notif_txt',
                    'el_class'
                ),
                'params' => array_merge(
                    array(
                        array(
                            'param_name' => 'criteria_ids',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Review criteria IDs',
                            'description' => 'Comma separated values. Example: 12,34,40',
                            'class' => 'tdc-textfield-extrabig',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "review_priv",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Only logged in users can post reviews",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            'param_name' => 'user_limit',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'User limit',
                            'description' => 'Set the maximum number of reviews a user can leave on an article.',
                            'placeholder' => '1',
                            'class' => 'tdc-textfield-small',
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'review_login_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Log in text',
                            'description' => 'If only logged in users can post reviews, a link with this text will appear in frontend. It will open the sign in modal.',
                            'placeholder' => __( 'Log in to leave a review.', TD_THEME_NAME ),
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            'param_name' => 'review_login_url',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Custom log in link',
                            'description' => '',
                            'class' => 'tdc-textfield-extrabig',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "reviews_status",
                            "type" => "dropdown",
                            "value" => array(
                                'Pending' => 'pending',
                                'Publish' => 'publish'
                            ),
                            "heading" => 'Reviews status',
                            "description" => 'Choose if the reviews will need approval or will get auto published',
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdb-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Header',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'header_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Text',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => 'Leave a review',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "header_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H2' => '',
                                'H1' => 'h1',
                                'H3' => 'h3',
                                'H4' => 'h4',
                                'Div' => 'div'
                            ),
                            "heading" => 'Tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "header_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Form',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Labels',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Inputs',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Placeholder color',
                            "param_name" => "input_place_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Ratings',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
					    array(
						    'param_name' => 'tdicon_star',
						    'type' => 'icon',
						    'heading' => 'Star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
                        array(
                            "param_name" => "icons_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "16"
                        ),
                        array(
		                    'param_name'  => 'stars_v_alignment',
		                    'type'        => 'range-responsive',
		                    'value'       => '0',
		                    'heading'     => 'Stars V alignment',
		                    'description' => '0 - Top / 50 - Center / 100 - Bottom',
		                    'class'       => 'tdc-textfield-small',
		                    'range_min'   => '-5',
		                    'range_max'   => '5',
		                    'range_step'  => '1',
		                    "group"       => "",
		                ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Full stars color',
                            "param_name"  => "star_full_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Empty stars color',
                            "param_name"  => "star_empty_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Labels color',
                            "param_name"  => "star_label_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Button',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5"
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_notif",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show in composer",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'limit_notif_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Limit reached notification text',
                            'description' => '',
                            'placeholder' => __( 'You have reached the limit of reviews that you can submit for this article.', TD_THEME_NAME ),
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Success accent color',
                            "param_name" => "notif_succ_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Error accent color',
                            "param_name" => "notif_error_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_user_reviews_overall',
            array(
                "map_in_td_composer" => true,
                "name" => 'Single Post User Reviews Overall',
                "base" => 'tdb_single_user_reviews_overall',
                "tdc_category" => 'Single post',
                "file" => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_user_reviews_overall.php',
                'tdc_style_params' => array(
                    'tdicon_full',
                    'tdicon_half',
                    'tdicon_empty',
                    'el_class'
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "hide_empty",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Hide when no reviews",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "show_breakdown",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show full breakdown",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Stars',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_stars",
                            "type" => "dropdown",
                            "value" => array (
                                'Show' => 'flex',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show stars',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"      => "",
                            "toggle_enable_params" => "stars",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                            "toggle_enabled_by" => "stars--flex",
                        ),
					    array(
						    'param_name' => 'tdicon_full',
						    'type' => 'icon',
						    'heading' => 'Full star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
                            "toggle_enabled_by" => "stars--flex",
					    ),
					    array(
						    'param_name' => 'tdicon_half',
						    'type' => 'icon',
						    'heading' => 'Half star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
                            "toggle_enabled_by" => "stars--flex",
					    ),
					    array(
						    'param_name' => 'tdicon_empty',
						    'type' => 'icon',
						    'heading' => 'Empty star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
                            "toggle_enabled_by" => "stars--flex",
					    ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                            "toggle_enabled_by" => "stars--flex",
                        ),
                        array(
		                    'param_name'  => 'stars_v_alignment',
		                    'type'        => 'range-responsive',
		                    'value'       => '0',
		                    'heading'     => 'Icons V alignment',
		                    'description' => '0 - Top / 50 - Center / 100 - Bottom',
		                    'class'       => 'tdc-textfield-small',
		                    'range_min'   => '-5',
		                    'range_max'   => '5',
		                    'range_step'  => '1',
		                    "group"       => "",
                            "toggle_enabled_by" => "stars--flex",
		                ),
                        array(
                            "param_name" => "space_btw_stars",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between icons",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "3px",
                            "group" => '',
                            "toggle_enabled_by" => "stars--flex",
                        ),
                        array(
                            "param_name" => "space_btw_criteria",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between criteria",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "4px",
                            "group" => '',
                            "toggle_enabled_by" => "stars--flex",
                        ),
                        array(
                            "param_name" => "icons_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "16",
                            "toggle_enabled_by" => "stars--flex",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Full/half stars color',
                            "param_name"  => "full_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "toggle_enabled_by" => "stars--flex",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Empty stars color',
                            "param_name"  => "empty_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "toggle_enabled_by" => "stars--flex",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_label",
                            "type" => "dropdown",
                            "value" => array (
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show label',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"      => "",
                            "toggle_enable_params" => "show_label",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                            "toggle_enabled_by" => "show_label--block",
                        ),
                        array(
                            "param_name" => "label_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "12",
                            "toggle_enabled_by" => "show_label--block",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Color',
                            "param_name"  => "label_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "toggle_enabled_by" => "show_label--block",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            "toggle_enabled_by" => "show_label--block",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_label', true, 'Label text', '', '', '', '', '', 'show_label--block' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_user_reviews_list',
            array(
                "map_in_td_composer" => true,
                "name" => 'Single Post User Reviews List',
                "base" => 'tdb_single_user_reviews_list',
                "tdc_category" => 'Single post',
                "file" => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_user_reviews_list.php',
                'tdc_style_params' => array(
                    'header_txt',
                    'header_tag',
                    'title_tag',
                    'tdicon_full',
                    'tdicon_half',
                    'tdicon_empty',
                    'el_class'
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdb-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Header',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'header_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Text',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => 'Reviews',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "header_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H2' => '',
                                'H1' => 'h1',
                                'H3' => 'h3',
                                'H4' => 'h4',
                                'Div' => 'div'
                            ),
                            "heading" => 'Tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "header_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Reviews',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Separator color',
                            "param_name"  => "all_rev_sep_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
		                    "param_name"  => "display_direction",
		                    "type"        => "dropdown-responsive",
		                    "value"       => array(
		                        'Horizontal'      => 'row',
		                        'Vertical'  => 'column',
		                    ),
		                    "heading"     => 'Display direction',
		                    "description" => "",
		                    "holder"      => "div",
		                    "class"       => "tdc-dropdown-big",
		                    "group"       => "",
                        ),
                        array(
                            "param_name" => "sections_gap",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between sections",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "25px",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Meta info',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author name color',
                            "param_name"  => "auth_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author name color hover',
                            "param_name"  => "auth_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    'param_name' => 'tdicon_badge',
						    'type' => 'icon',
						    'heading' => 'Article author badge icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article author badge color',
                            "param_name"  => "badge_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article author badge background',
                            "param_name"  => "badge_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date color',
                            "param_name"  => "date_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Title',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h3',
                                'H4' => 'h4',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => ""
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title color',
                            "param_name"  => "title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Content',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Content color',
                            "param_name"  => "content_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_content', true, 'Content text', '', '', 'f_content', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Options',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Delete reply text color',
                            "param_name"  => "del_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Ratings',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
					    array(
						    'param_name' => 'tdicon_full',
						    'type' => 'icon',
						    'heading' => 'Full star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    'param_name' => 'tdicon_half',
						    'type' => 'icon',
						    'heading' => 'Half star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    'param_name' => 'tdicon_empty',
						    'type' => 'icon',
						    'heading' => 'Empty star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'icon_size',
                            'value' => '20',
                            'heading' => 'Star icon size (px)',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '10',
                            'range_max' => '150',
                            'range_step' => '5',
                        ),
                        array(
                            "param_name" => "icons_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "16"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Full/half stars color',
                            "param_name"  => "full_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Empty stars color',
                            "param_name"  => "empty_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Labels color',
                            "param_name"  => "label_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),


                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
		                    'param_name'  => 'stars_v_alignment',
		                    'type'        => 'range-responsive',
		                    'value'       => '0',
		                    'heading'     => 'Stars V alignment',
		                    'description' => '0 - Top / 50 - Center / 100 - Bottom',
		                    'class'       => 'tdc-textfield-small',
		                    'range_min'   => '-5',
		                    'range_max'   => '5',
		                    'range_step'  => '1',
		                    "group"       => "",
		                ),
                        array(
                            "param_name" => "space_btw_stars",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between stars",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "3px",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "space_btw_criteria",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between criteria",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "5px",
                            "group" => '',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Reply form',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Inputs',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Placeholder color',
                            "param_name" => "input_place_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Buttons',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Hollow',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color_hol",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_hol_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "btn_bg_hol",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_hol_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Border color',
                            "param_name" => "btn_border_hol",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Border hover color',
                            "param_name" => "btn_border_hol_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'No reviews notification',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'notif_txt',
                            'type' => 'textarea_raw_html',
                            'value' => 'This article doesn\'t have any reviews yet.',
                            'heading' => 'Notification text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Notification accent color',
                            "param_name" => "notif_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_user_review_replies_list',
            array(
                "map_in_td_composer" => true,
                "name" => 'Single Post User Review Replies List',
                "base" => 'tdb_single_user_review_replies_list',
                "tdc_category" => 'Single post',
                "file" => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_user_review_replies_list.php',
                'tdc_style_params' => array(
                    'header_txt',
                    'header_tag',
                    'el_class'
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdb-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Header',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'header_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Text',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => 'Reviews',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "header_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H2' => '',
                                'H1' => 'h1',
                                'H3' => 'h3',
                                'H4' => 'h4',
                                'Div' => 'div'
                            ),
                            "heading" => 'Tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "header_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Review replies',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Separator color',
                            "param_name"  => "all_rev_sep_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
		                    "param_name"  => "display_direction",
		                    "type"        => "dropdown-responsive",
		                    "value"       => array(
		                        'Horizontal'      => 'row',
		                        'Vertical'  => 'column',
		                    ),
		                    "heading"     => 'Display direction',
		                    "description" => "",
		                    "holder"      => "div",
		                    "class"       => "tdc-dropdown-big",
		                    "group"       => "",
                        ),
                        array(
                            "param_name" => "sections_gap",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between sections",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "25px",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author name color',
                            "param_name"  => "auth_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author name color hover',
                            "param_name"  => "auth_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date color',
                            "param_name"  => "date_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Content color',
                            "param_name"  => "content_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Delete reply text color',
                            "param_name"  => "del_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'No review replies notification',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'notif_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Notification text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Notification accent color',
                            "param_name" => "notif_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_user_review_reply_form',
            array(
                "map_in_td_composer" => true,
                "name" => 'Single Post User Review Reply Form',
                "base" => 'tdb_single_user_review_reply_form',
                "tdc_category" => 'Single post',
                "file" => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_user_review_reply_form.php',
                'tdc_style_params' => array(
                    'header_txt',
                    'el_class'
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdb-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Header',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'header_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Text',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => 'Leave a reply',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "header_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H2' => '',
                                'H1' => 'h1',
                                'H3' => 'h3',
                                'H4' => 'h4',
                                'Div' => 'div'
                            ),
                            "heading" => 'Tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "header_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Form',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Inputs',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Placeholder color',
                            "param_name" => "input_place_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Button',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5"
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Success accent color',
                            "param_name" => "notif_succ_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_user_review_ratings',
            array(
                "map_in_td_composer" => true,
                "name" => 'Single Post User Review Ratings',
                "base" => 'tdb_single_user_review_ratings',
                "tdc_category" => 'Single post',
                "file" => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_user_review_ratings.php',
                'tdc_style_params' => array(
                    'tdicon_full',
                    'tdicon_half',
                    'tdicon_empty',
                    'el_class'
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Stars',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
					    array(
						    'param_name' => 'tdicon_full',
						    'type' => 'icon',
						    'heading' => 'Full star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    'param_name' => 'tdicon_half',
						    'type' => 'icon',
						    'heading' => 'Half star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    'param_name' => 'tdicon_empty',
						    'type' => 'icon',
						    'heading' => 'Empty star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
		                    'param_name'  => 'stars_v_alignment',
		                    'type'        => 'range-responsive',
		                    'value'       => '0',
		                    'heading'     => 'Icons V alignment',
		                    'description' => '0 - Top / 50 - Center / 100 - Bottom',
		                    'class'       => 'tdc-textfield-small',
		                    'range_min'   => '-5',
		                    'range_max'   => '5',
		                    'range_step'  => '1',
		                    "group"       => "",
		                ),
                        array(
                            "param_name" => "space_btw_stars",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between icons",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "3px",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "icons_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "16"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Full/half stars color',
                            "param_name"  => "full_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Empty stars color',
                            "param_name"  => "empty_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "label_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "12"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Color',
                            "param_name"  => "label_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_label', true, 'Label text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_single_toc',
            array(
                'map_in_td_composer' => true,
                "name" => 'Single Post Table of Contents',
                "base" => "tdb_single_toc",
                'tdc_category' => 'Single post',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/single/tdb_single_toc.php',
                'tdc_style_params' => array(
                    'title',
                    'title_tag',
                    'hierarchical',
                    'exclude',
                    'list_style',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'title' => 'Table of contents',
                                'scroll_offset' => '20',
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'List title',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom title',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H3 - Default' => 'h3',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'H5' => 'h5',
                                'H6' => 'h6',
                                'Div' => 'div',
                                'P' => 'p',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "title_space",
                            "type" => "textfield-responsive",
                            "value" => "",
                            "heading" => 'TItle space',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "15",
                            "class" => "tdc-textfield-small",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "title_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Title color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "on_off_table_content",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "On / Off  expand table of contents option",
                            "description" => "Add the option to Expand / narrow the table of contents",
                            "holder" => "div",
                            "class" => "",
                            'toggle_enable_params' => 'on_off_table_content',
                        ),
                        array(
                            "param_name" => "hide_show_table_content",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Expand / narrow the table of contents",
                            "description" => "Disable the option and the Table of contents will be narrow",
                            "holder" => "div",
                            'toggle_enabled_by' => 'on_off_table_content',
                            "class" => "",
                        ),
                        array(
                            "param_name" => "show_table_content",
                            "type" => "textfield-responsive",
                            "value" => "",
                            "heading" => 'Text show content table',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "[show]",
                            'toggle_enabled_by' => 'on_off_table_content',
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            "param_name" => "hide_table_content",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Text hide content table',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "[hide]",
                            'toggle_enabled_by' => 'on_off_table_content',
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            "param_name" => "text_color_sh_table_content",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Show / hide text color',
                            "value" => '',
                            "description" => '',
                            'toggle_enabled_by' => 'list_style--none',
                            'toggle_enabled_by' => 'on_off_table_content',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    td_config_helper::get_map_block_font_array( 'f_text_color_sh_table_content', true, 'Show / hide text' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Headings list',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "hierarchical",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Nested",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "exclude",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Headings to exclude',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "E.g.: h1, h2",
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            "param_name" => "list_style",
                            "type" => "dropdown",
                            "value" => array(
                                'Numeric' => 'numeric',
                                'Circle' => 'circle',
                                'None' => 'none',
                            ),
                            "heading" => 'List style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            'toggle_enable_params' => 'list_style',
                            'toggle_enable_params_reverse' => true
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "smooth_scroll",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Enable smooth scroll",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            'toggle_enable_params' => 'smooth_scroll',
                        ),
                        array(
                            "param_name" => "scroll_offset",
                            "type" => "textfield-responsive",
                            "value" => "",
                            "heading" => 'Scroll offset',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "20",
                            "class" => "tdc-textfield-small",
                            'toggle_enabled_by' => 'smooth_scroll',
                        ),
                        array(
                            "param_name" => "scroll_duration",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Scroll duration (miliseconds)',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "500",
                            "class" => "tdc-textfield-small",
                            'toggle_enabled_by' => 'smooth_scroll',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "active_highlight",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Enable active link highlight",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "content_align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/single_revov_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "padd",
                            "type" => "textfield-responsive",
                            "value" => "",
                            "heading" => 'Padding',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "20px 18px",
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            "param_name" => "bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name"  => "all_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "all_border_style",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "all_border_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "radius",
                            "type" => "textfield-responsive",
                            "value" => "",
                            "heading" => 'Border radius',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "8",
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "h_space",
                            "type" => "textfield-responsive",
                            "value" => "",
                            "heading" => 'Spacing between headings',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "4",
                            "class" => "tdc-textfield-small",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "symbol_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Headings symbol color',
                            "value" => '',
                            "description" => '',
                            'toggle_enabled_by' => 'list_style--none',
                        ),
                        array(
                            "param_name" => "h_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-a",
                            "heading" => 'Headings text color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "h_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-b",
                            "heading" => 'Headings text hover color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "h_color_a",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-c",
                            "heading" => 'Headings text active color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_h', true, 'Headings text' ),

                    self::get_block_style()
                )
            )
        );

        /**
         * Smart lists
         */

        td_api_smart_list::add('tdb_smart_list_1',
            array(
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/smart_lists/tdb_smart_list_1.php',
                'text' => 'Smart list 1',
                'img' => '',
                'extract_first_image' => true,
                'group' => ''
            )
        );
        td_api_smart_list::add('tdb_smart_list_2',
            array(
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/smart_lists/tdb_smart_list_2.php',
                'text' => 'Smart list 2',
                'img' => '',
                'extract_first_image' => true,
                'group' => ''
            )
        );
        td_api_smart_list::add('tdb_smart_list_3',
            array(
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/smart_lists/tdb_smart_list_3.php',
                'text' => 'Smart list 3',
                'img' => '',
                'extract_first_image' => true,
                'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
            )
        );
        td_api_smart_list::add('tdb_smart_list_4',
            array(
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/smart_lists/tdb_smart_list_4.php',
                'text' => 'Smart list 4',
                'img' => '',
                'extract_first_image' => true,
                'group' => ''
            )
        );
        td_api_smart_list::add('tdb_smart_list_5',
            array(
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/smart_lists/tdb_smart_list_5.php',
                'text' => 'Smart list 5',
                'img' => '',
                'extract_first_image' => true,
                'group' => ''
            )
        );
        td_api_smart_list::add('tdb_smart_list_6',
            array(
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/smart_lists/tdb_smart_list_6.php',
                'text' => 'Smart list 6',
                'img' => '',
                'extract_first_image' => false,
                'group' => ''
            )
        );


        /**
         * *************************************************************************************************************
         * Category Elements
         * *************************************************************************************************************
         */


        /*td_api_block::add('tdb_category_title',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Title',
                "base" => "tdb_category_title",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_title.php',
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H1 - Default' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line width',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line height',
                            "description" => "",
                            "placeholder" => '2',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'line_space',
                            "value" => '',
                            "heading" => 'Line space',
                            "class" => 'tdc-textfield-small',
                            "description" => '',
                            "placeholder" => '50',
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '40',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-100',
                            'range_max' => '100',
                            'range_step' => '10',
                        ),
                        array(
                            "param_name" => "line_position",
                            "type" => "dropdown",
                            "value" => array(
                                'Below text' => '',
                                'Above text' => 'above',
                            ),
                            "heading" => 'Line position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Title color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "line_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Line color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    array(
                        array (
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    )
                )
            )

        );*/


        $shortcode_name = 'woo_archive' === tdc_util::get_get_val('tdbTemplateType') ? 'Woo Archive BG Image' : 'Category Background Image';
        $tdc_category = 'woo_archive' === tdc_util::get_get_val('tdbTemplateType') ? 'WooCommerce Archive' : 'Category page';

        td_api_block::add('tdb_category_bg_image',
            array(
                'map_in_td_composer' => true,
                "name" => $shortcode_name,
                "base" => "tdb_category_bg_image",
                'tdc_category' => $tdc_category,
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_bg_image.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "default_image",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Default image",
                            "description" => "This image will appear on categories without background image",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "block_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Image height',
                            "description" => "",
                            "placeholder" => "600",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/category_bg_image_height.png",
                        ),
                        array(
                            "param_name" => "image_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Cover' => '',
                                'Contain' => 'contain',
                                'No repeat' => 'no-repeat',
                                'Repeat' => 'repeat'
                            ),
                            "heading" => 'Image style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "image_alignment",
                            "type" => "dropdown",
                            "value" => array(
                                'Top' => '',
                                'Center' => 'center',
                                'Bottom' => 'bottom'
                            ),
                            "heading" => 'Image alignment',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/category_bg_image_alignment.png",
                        ),
                        array(
                            "param_name" => "hide_img",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Hide when no category image",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "img_circle",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Rounded image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_bg_image_rounded.png",
                        ),
                        array(
                            "param_name" => "overlay",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Overlay color',
                            "value" => '',
                            "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/category_bg_image_overlay.png",
                        ),
                    ),
                    td_config_helper::mix_blend('Effects'),
                    td_config_helper::image_filters('Effects'),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_category_sibling_categories',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Siblings',
                "base" => "tdb_category_sibling_categories",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_sibling_categories.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'show_background_color' => 'yes',
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "relation",
                            "type" => "dropdown",
                            "value" => array(
                                'Siblings' => '',
                                'Parents' => 'parents',
                            ),
                            "heading" => 'Display category',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "display_list",
                            "type" => "dropdown",
                            "value" => array(
                                'Inline' => '',
                                'List' => 'yes',
                            ),
                            "heading" => 'List style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_display_list.png",
                            "toggle_enable_params" => "list_style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Include/exclude terms',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "terms_ids",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Terms IDs',
                            "description" => "List of comma separated terms IDs, which you can include or exclude.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "toggle_enable_params" => "terms_ids"
                        ),
                        array(
                            "param_name" => "inclusion_type",
                            "type" => "dropdown",
                            "value" => array(
                                'Include' => '',
                                'Exclude' => 'exclude',
                            ),
                            "heading" => 'Inclusion type',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "toggle_enabled_by" => "terms_ids"
                        ),
                        array(
                            "param_name" => "include_current_cat",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Include current category',
                            "description" => "Include the current category in to the sibling list",
                            "holder" => "div",
                            "class" => "",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Limit',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "tdb_sibling_categories_limit",
                            "type" => "textfield",
                            "value" => 100,
                            "heading" => 'Limit categories siblings',
                            "description" => "If you want to show more or less categories on the category page",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_limit.png",
                        ),
                        array(
                            "param_name" => "more",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Disable dropdown when list style inline',
                            "description" => "This only works when 'List style' is set to 'Inline'.",
                            "holder" => "div",
                            "class" => "",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_disable_dropdown.png",
                            "toggle_enabled_by" => "list_style--",
                        ),
                        array(
                            "param_name" => "show_no",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Categories to show when list style as list',
                            "description" => "Limit the number of categories shown at first, while the rest are placed in a dropdown list.",
                            "placeholder" => "auto",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_items_to_show_in_list.png",
                            "toggle_enabled_by" => "list_style--yes",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Main list',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Elements',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "cat_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "4px 8px 5px 8px",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_padd.png",
                        ),
                        array(
                            "param_name"  => "cat_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0 5px 0 0",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_space.png",
                        ),
                        array(
                            'param_name' => 'cat_radius',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '100',
                            'range_step' => '1',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_radius.png",
                        ),
                        array(
                            'param_name' => 'cat_border',
                            'type' => 'range-responsive',
                            'value' => '1',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '10',
                            'range_step' => '1',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_border_size.png",
                        ),
                        array(
                            'param_name' => 'cat_skew',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Skew',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-40',
                            'range_max' => '40',
                            'range_step' => '1',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_skew.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Separator icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_sep_icon.png",
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'range-responsive',
                            'value' => '14',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '30',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_sep_icon_size.png",
                        ),
                        array(
                            'param_name' => 'icon_space',
                            'type' => 'range-responsive',
                            'value' => '5',
                            'heading' => 'Icon space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '30',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_sep_icon_space.png",
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_sep_icon_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Dropdown list',
                            "value"      => "",
                            "class"      => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "btn_text",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_text.png",
                        ),
                        array(
                            "param_name"  => "btn_text_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Text space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_text_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            'param_name' => 'btn_tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_icon.png",
                        ),
                        array(
                            'param_name' => 'btn_icon_size',
                            'type' => 'range-responsive',
                            'value' => '10',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '30',
                            'range_step' => '1',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_icon_size.png",
                        ),
                        array(
                            'param_name' => 'btn_icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_icon_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "param_name"  => "btn_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "5px 5px 4px",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_padd.png",
                        ),
                        array(
                            "param_name"  => "btn_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_border_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'List',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "list_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "6px 1px",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_list_padd.png",
                        ),
                        array(
                            'param_name' => 'list_pos',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Position',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-8',
                            'range_max' => '8',
                            'range_step' => '1',
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'list_border',
                            'type' => 'range-responsive',
                            'value' => '1',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '10',
                            'range_step' => '1',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_list_border_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => ""
                        ),
                        array(
                            "param_name"  => "list_el_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Elements padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0 13px",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_list_el_padd.png",
                        ),
                        array(
                            "param_name"  => "list_el_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Elements space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_list_el_space.png",
                        ),

                        array(
                            "param_name" => "cat_style",
                            "type" => "dropdown",
                            "value" => array(
                                'Default' => '',
                                'Rainbow' => 'tdb-cat-style2',
                            ),
                            "heading" => 'Style',
                            "description" => "Works if categories have specific background color and 'Show categories background color' option is checked.",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_style.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category links',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style"
                        ),
                        array(
                            "param_name" => "show_background_color",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => 'Show categories background color',
                            "description" => "Shows the categories specific background color, which you set in the Theme Panel.",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_show_bg.png",
                        ),
                        array(
                            "param_name" => "bg_color",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-a",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => 'Background color',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_bg.png",
                        ),
                        array(
                            "param_name" => "bg_hover_color",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-b",
                            "heading" => 'Background hover color',
                            "value" => '',
                            "description" => 'Background hover color',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "active_bg_color",
                            "type" => "gradient",
                            "value" => '',
                            "heading" => 'Active background color',
                            "description" => 'Active background color',
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-c",
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "text_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-a",
                            "heading" => 'Text color',
                            "value" => '',
                            "description" => 'Text color',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_color.png",
                        ),
                        array(
                            "param_name" => "text_hover_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-b",
                            "heading" => 'Text hover color',
                            "value" => '',
                            "description" => 'Text hover color',
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "active_color",
                            "type" => "colorpicker",
                            "value" => '',
                            "heading" => 'Active color',
                            "description" => "Active color",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-c",
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "border_color",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-a",
                            "heading" => 'Border color',
                            "value" => '',
                            "description" => 'Border color',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_border_color.png",
                        ),
                        array(
                            "param_name" => "border_hover_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-b",
                            "heading" => 'Border hover color',
                            "value" => '',
                            "description" => 'Border hover color',
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "active_border_color",
                            "type" => "colorpicker",
                            "value" => '',
                            "heading" => 'Active border color',
                            "description" => "Active border color",
                            "holder" => "div",
                            "class" => "td-colorpicker-triple-c",
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "i_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Separator icon color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_elements_sep_icon_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'More categories dropdown',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style"
                        ),
                        array(
                            "param_name" => "btn_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Button background color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_bg.png",
                        ),
                        array(
                            "param_name" => "btn_h_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Button background hover color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "btn_txt",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Button text color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_text_color.png",
                        ),
                        array(
                            "param_name" => "btn_h_txt",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Button text hover color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "btn_icon",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Button icon color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_icon_color.png",
                        ),
                        array(
                            "param_name" => "btn_h_icon",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Button icon hover color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "btn_border",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Button border color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_btn_border_color.png",
                        ),
                        array(
                            "param_name" => "btn_h_border",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Button border hover color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "list_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'List background color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_list_bg.png",
                        ),
                        array(
                            "param_name" => "list_text",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'List text color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_list_text_color.png",
                        ),
                        array(
                            "param_name" => "list_h_text",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'List text hover color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "list_border_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'List border color',
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_siblings_dropdown_list_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Fonts',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_cats', true, 'Categories text', 'Style', '', '', 'https://cloud.tagdiv.com/help/category_siblings_elements_font.png' ),
                    td_config_helper::get_map_block_font_array( 'f_list', false, 'List text', 'Style', '', '', 'https://cloud.tagdiv.com/help/category_siblings_dropdown_list_font.png' ),
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_category_subcategories',
            array(
                'map_in_td_composer' => true,
                "name" => 'Subcategories',
                "base" => "tdb_category_subcategories",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_subcategories.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "columns" => "25%",
                                "name_pos" => "bellow",
                                "descr_pos" => "bellow",
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Header settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom title:',
                            "description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "info_img" => "https://cloud.tagdiv.com/help/custom_title.png",
                        ),
                        array(
                            "param_name" => "custom_url",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Title url:',
                            "description" => "Optional - a custom url when the block title is clicked",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "tdb_sibling_categories_limit",
                            "type" => "textfield",
                            "value" => 100,
                            "heading" => 'Limit subcategories',
                            "description" => "If you want to show more or less categories on the category page",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_limit.png",
                        ),
                        array(
                            "param_name"  => "columns",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_columns.png",
                        ),
                        array(
                            "param_name"  => "gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Columns gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "30",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_columns_gap.png",
                        ),
                        array(
                            "param_name"  => "space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Categories space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "30",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_categories_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "img_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Height',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "60%",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_image_height.png",
                        ),
                        array(
                            "param_name"  => "img_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_image_radius.png",
                        ),
                        array(
                            "param_name"  => "show_img",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show image',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_image_hide.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Top info',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "info_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_top_info_margin.png",
                        ),
                        array(
                            "param_name"  => "info_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_top_info_padd.png",
                        ),
                        array(
                            "param_name"  => "info_border1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_top_info_border_size.png",
                        ),
                        array(
                            "param_name"  => "info_border_style1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_top_info_border_style.png",
                        ),
                        array(
                            "param_name" => "info_horiz1",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_top_info_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Bottom info',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "info_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "17px 0px 0px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_bottom_info_margin.png",
                        ),
                        array(
                            "param_name"  => "info_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_bottom_info_padd.png",
                        ),
                        array(
                            "param_name"  => "info_border2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_bottom_info_border_size.png",
                        ),
                        array(
                            "param_name"  => "info_border_style2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_bottom_info_border_style.png",
                        ),
                        array(
                            "param_name" => "info_horiz2",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_bottom_info_horiz_align.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Name',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'Paragraph' => 'p'
                            ),
                            "heading" => 'Name tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "name_pos",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Above image'  => 'above',
                                'Bellow image'  => 'bellow',
                            ),
                            "heading"     => 'Position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_name_pos.png",
                        ),
                        array(
                            "param_name"  => "name_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 8px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_name_margin.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Description',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "descr_pos",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Above image'  => 'above',
                                'Bellow image'  => 'bellow',
                            ),
                            "heading"     => 'Position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_descr_pos.png",
                        ),
                        array(
                            "param_name"  => "descr_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_descr_margin.png",
                        ),
                        array(
                            "param_name"  => "show_descr",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show description',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_descr_hide.png",
                        ),
                        array(
                            "param_name" => "descr_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Description length',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_descr_length.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Category background color',
                            "param_name"  => "bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_categories_bg.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Overlay color',
                            "param_name"  => "img_overlay",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_image_overlay.png",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Overlay hover color',
                            "param_name"  => "img_overlay_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "show_background_color",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Apply categories background color',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Top info background color',
                            "param_name"  => "info_bg_color1",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_top_info_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Top info border color',
                            "param_name"  => "info_border_color1",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_top_info_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bottom info background color',
                            "param_name"  => "info_bg_color2",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_bottom_info_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bottom info border color',
                            "param_name"  => "info_border_color2",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_bottom_info_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Name color',
                            "param_name"  => "name_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_name_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Nme hover color',
                            "param_name"  => "name_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/category_sub_descr_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Fonts',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_name', false, 'Name text', 'Style', '', '', 'https://cloud.tagdiv.com/help/category_sub_name_font.png' ),
                    td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text', 'Style', '', '', 'https://cloud.tagdiv.com/help/category_sub_descr_font.png' ),
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_category_description',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Description',
                "base" => "tdb_category_description",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_description.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/category_descr_horiz_align.png",
                        ),
                        array(
                            "param_name"  => "p_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Paragraphs bottom space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "15",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_descr_paragraph_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/category_descr_color.png",
                        ),
                        array(
                            "param_name"  => "h_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-show-if-yoast",
                            "heading"     => 'H1-6 color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => ""
                        ),
                        array(
                            "param_name"  => "a_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a tdc-show-if-yoast",
                            "heading"     => 'Links color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "a_hover_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b tdc-show-if-yoast",
                            "heading"     => 'Links hover color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "bq_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-show-if-yoast",
                            "heading"     => 'Default blockquote color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_descr', true, 'Description text', '', '', '', 'https://cloud.tagdiv.com/help/category_descr_font.png' ),
                    td_config_helper::get_map_block_font_array( 'f_h1', false, 'H1', '', '', 'tdc-show-if-yoast' ),
                    td_config_helper::get_map_block_font_array( 'f_h2', false, 'H2', '', '', 'tdc-show-if-yoast' ),
                    td_config_helper::get_map_block_font_array( 'f_h3', false, 'H3', '', '', 'tdc-show-if-yoast' ),
                    td_config_helper::get_map_block_font_array( 'f_h4', false, 'H4', '', '', 'tdc-show-if-yoast' ),
                    td_config_helper::get_map_block_font_array( 'f_h5', false, 'H5', '', '', 'tdc-show-if-yoast' ),
                    td_config_helper::get_map_block_font_array( 'f_h6', false, 'H6', '', '', 'tdc-show-if-yoast' ),
                    td_config_helper::get_map_block_font_array( 'f_list', false, 'Lists', '', '', 'tdc-show-if-yoast' ),
                    td_config_helper::get_map_block_font_array( 'f_bq', false, 'Default blockquote', '', '', 'tdc-show-if-yoast' ),
                    self::get_block_style()
                )
            )
        );

		//td_api_block::add('tdb_tax_description',
		//    array(
		//        'map_in_td_composer' => true,
		//        "name" => 'Taxonomy Description',
		//        "base" => "tdb_tax_description",
		//        'tdc_category' => 'Category page',
		//        'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/cpt_tax/tdb_tax_description.php',
		//        'tdc_style_params' => array(
		//            'el_class'
		//        ),
		//        "params" => array_merge(
		//            array(
		//                array(
		//                    "param_name" => "content_align_horizontal",
		//                    "type" => "dropdown",
		//                    "value" => array(
		//                        'Left' => 'content-horiz-left',
		//                        'Center' => 'content-horiz-center',
		//                        'Right' => 'content-horiz-right'
		//                    ),
		//                    "heading" => 'Horizontal align',
		//                    "description" => "",
		//                    "holder" => "div",
		//                    'tdc_dropdown_images' => true,
		//                    "class" => "tdc-visual-selector tdc-add-class",
		//                    "info_img" => "https://cloud.tagdiv.com/help/category_descr_horiz_align.png",
		//                ),
		//                array(
		//                    "param_name"  => "p_space",
		//                    "type"        => "textfield-responsive",
		//                    "value"       => '',
		//                    "heading"     => 'Paragraphs bottom space',
		//                    "description" => "",
		//                    "holder"      => "div",
		//                    "class"       => "tdc-textfield-small",
		//                    "placeholder" => "15",
		//                    "group"       => "",
		//                    "info_img" => "https://cloud.tagdiv.com/help/category_descr_paragraph_space.png",
		//                ),
		//                array(
		//                    "param_name" => "separator",
		//                    "type"       => "text_separator",
		//                    'heading'    => 'Style',
		//                    "value"      => "",
		//                    "class"      => "",
		//                ),
		//                array(
		//                    "type"        => "colorpicker",
		//                    "holder"      => "div",
		//                    "class"       => "",
		//                    "heading"     => 'Description color',
		//                    "param_name"  => "descr_color",
		//                    "value"       => '',
		//                    "description" => '',
		//                    "group"       => "",
		//                    "info_img" => "https://cloud.tagdiv.com/help/category_descr_color.png",
		//                ),
		//                array(
		//                    "param_name"  => "h_color",
		//                    "type"        => "colorpicker",
		//                    "holder"      => "div",
		//                    "class"       => "tdc-show-if-yoast",
		//                    "heading"     => 'H1-6 color',
		//                    "value"       => '',
		//                    "description" => '',
		//                    "group"       => "",
		//                    "info_img" => ""
		//                ),
		//                array(
		//                    "param_name"  => "a_color",
		//                    "type"        => "colorpicker",
		//                    "holder"      => "div",
		//                    "class"       => "td-colorpicker-double-a tdc-show-if-yoast",
		//                    "heading"     => 'Links color',
		//                    "value"       => '',
		//                    "description" => '',
		//                    "group"       => "",
		//                ),
		//                array(
		//                    "param_name"  => "a_hover_color",
		//                    "type"        => "colorpicker",
		//                    "holder"      => "div",
		//                    "class"       => "td-colorpicker-double-b tdc-show-if-yoast",
		//                    "heading"     => 'Links hover color',
		//                    "value"       => '',
		//                    "description" => '',
		//                    "group"       => "",
		//                ),
		//                array(
		//                    "param_name"  => "bq_color",
		//                    "type"        => "colorpicker",
		//                    "holder"      => "div",
		//                    "class"       => "tdc-show-if-yoast",
		//                    "heading"     => 'Default blockquote color',
		//                    "value"       => '',
		//                    "description" => '',
		//                    "group"       => "",
		//                    "info_img" => ""
		//                ),
		//                array(
		//                    "param_name" => "separator",
		//                    "type"       => "horizontal_separator",
		//                    "value"      => "",
		//                    "class"      => "",
		//                    "group"      => "",
		//                ),
		//            ),
		//            td_config_helper::get_map_block_font_array( 'f_descr', true, 'Description text', '', '', '', 'https://cloud.tagdiv.com/help/category_descr_font.png' ),
		//            td_config_helper::get_map_block_font_array( 'f_h1', false, 'H1', '', '', 'tdc-show-if-yoast' ),
		//            td_config_helper::get_map_block_font_array( 'f_h2', false, 'H2', '', '', 'tdc-show-if-yoast' ),
		//            td_config_helper::get_map_block_font_array( 'f_h3', false, 'H3', '', '', 'tdc-show-if-yoast' ),
		//            td_config_helper::get_map_block_font_array( 'f_h4', false, 'H4', '', '', 'tdc-show-if-yoast' ),
		//            td_config_helper::get_map_block_font_array( 'f_h5', false, 'H5', '', '', 'tdc-show-if-yoast' ),
		//            td_config_helper::get_map_block_font_array( 'f_h6', false, 'H6', '', '', 'tdc-show-if-yoast' ),
		//            td_config_helper::get_map_block_font_array( 'f_list', false, 'Lists', '', '', 'tdc-show-if-yoast' ),
		//            td_config_helper::get_map_block_font_array( 'f_bq', false, 'Default blockquote', '', '', 'tdc-show-if-yoast' ),
		//            self::get_block_style()
		//        )
		//    )
		//);

        td_api_block::add('tdb_category_grid_1',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 1',
                "base" => "tdb_category_grid_1",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_1.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "grid_layout" => "2",
                                "image_height" => "eyJhbGwiOiI4NSIsInBob25lIjoiODAifQ==",
                                "image_zoom" => "yes",
                                "meta_info_vert" => "content-vert-bottom",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "cat_bg_hover" => "#4db2ec",
                                "f_title_font_size" => "eyJsYW5kc2NhcGUiOiIyMiIsInBvcnRyYWl0IjoiMTYiLCJwaG9uZSI6IjIyIn0=",
                                "f_title_font_line_height" => "eyJsYW5kc2NhcGUiOiIyOHB4IiwicG9ydHJhaXQiOiIyMHB4IiwicGhvbmUiOiIyOHB4In0=",
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title_font_line_height" => "1.4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyMSIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxNyJ9",
                                "f_title_font_line_height" => "1.2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyNiIsImxhbmRzY2FwZSI6IjI1IiwicG9ydHJhaXQiOiIyMSIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Columns',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_col',
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 1
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col1',
                                'tdc_preset_individual' => '1',
                                "grid_layout" => "1",
                                "image_height" => "eyJhbGwiOiI1MCIsInBob25lIjoiNzAifQ==",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 2
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col2',
                                'tdc_preset_individual' => '1',
                                "grid_layout" => "2",
                                "image_height" => "eyJhbGwiOiI4NSIsInBob25lIjoiODAifQ==",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 3
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col3',
                                'tdc_preset_individual' => '1',
                                "grid_layout" => "3",
                                "image_height" => "eyJhbGwiOiI4NSIsInBob25lIjoiODAifQ==",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 4
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col4',
                                'tdc_preset_individual' => '1',
                                "grid_layout" => "4",
                                "image_height" => "eyJhbGwiOiIxMjAiLCJwaG9uZSI6IjUwIn0=",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 5
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col5',
                                'tdc_preset_individual' => '1',
                                "grid_layout" => "5",
                                "image_height" => "eyJhbGwiOiIxMjAiLCJwaG9uZSI6IjUwIn0=",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "grid_layout",
                            "type" => "dropdown",
                            "value" => array(
                                '1 column'  => '1',
                                '2 columns' => '2',
                                '3 columns' => '3',
                                '4 columns' => '4',
                                '5 columns' => '5',
                            ),
                            "heading" => 'Grid layout',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-cat-grid-layout tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "container_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Container width (0-100 percent)',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_container.png",
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '4',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "75",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article meta info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "22px 20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_category_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            'param_name'  => 'modules_category_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
                        ),
                        array(
                            "param_name"  => "show_cat",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment background',
                            "param_name"  => "com_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment text color',
                            "param_name"  => "com_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_2',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 2',
                "base" => "tdb_category_grid_2",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_2.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "none",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_height2" => "eyJsYW5kc2NhcGUiOiIxNzNweCIsInBob25lIjoiMTY1cHgiLCJwb3J0cmFpdCI6IjEzM3B4In0=",
                                "image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiMzUwcHgiLCJwb3J0cmFpdCI6IjI3MHB4In0=",
                                "modules_gap" => "eyJwaG9uZSI6IjMifQ==",
                                "meta_padding2" => "eyJsYW5kc2NhcGUiOiIxNnB4IDE1cHggMTFweCIsInBvcnRyYWl0IjoiMTZweCAxNXB4IDExcHgiLCJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCJ9",
                                "cat_bg_hover" => "#4db2ec",
                                "image_size2" => "td_324x400",
                                "image_size" => "",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_width2" => "eyJwaG9uZSI6IjgwIn0=",
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title1_font_line_height" => "1.4",
                                "f_title2_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title2_font_line_height" => "1.4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyMSIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxNyJ9",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNiIsImxhbmRzY2FwZSI6IjI1IiwicG9ydHJhaXQiOiIyMSIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_title2_font_size" => "eyJhbGwiOiIxOCIsImxhbmRzY2FwZSI6IjE3IiwicG9ydHJhaXQiOiIxNiIsInBob25lIjoiMTYifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "4",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png",
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "70",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "400px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "22px 20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "30",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "198px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "11px 17px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 7px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_5",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 5",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_3',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 3',
                "base" => "tdb_category_grid_3",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_3.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "none",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwibGFuZHNjYXBlIjoiMTQ1cHgiLCJwb3J0cmFpdCI6IjEwOXB4In0=",
                                "image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiNDQzcHgiLCJwb3J0cmFpdCI6IjMzNXB4In0=",
                                "modules_gap" => "eyJwaG9uZSI6IjMifQ==",
                                "meta_padding2" => "eyJsYW5kc2NhcGUiOiIxNnB4IDE1cHggMTFweCIsInBvcnRyYWl0IjoiMTZweCAxNXB4IDExcHgiLCJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCJ9",
                                "cat_bg_hover" => "#4db2ec",
                                "image_size" => "",
                                "image_size2" => "td_324x400",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_width2" => "eyJwaG9uZSI6IjgwIn0=",
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title1_font_line_height" => "1.4",
                                "f_title2_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title2_font_line_height" => "1.4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyMSIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxNyJ9",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNiIsImxhbmRzY2FwZSI6IjI1IiwicG9ydHJhaXQiOiIyMSIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_title2_font_size" => "eyJhbGwiOiIxOCIsImxhbmRzY2FwZSI6IjE3IiwicG9ydHJhaXQiOiIxNiIsInBob25lIjoiMTYifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "4",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "70",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "482px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "22px 20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "30",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "158px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "11px 15px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 7px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_4',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 4',
                "base" => "tdb_category_grid_4",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_4.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "none",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjE0MHB4IiwicG9ydHJhaXQiOiIxNTBweCIsImxhbmRzY2FwZSI6IjIwMHB4In0=",
                                "image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiNDEwcHgiLCJwb3J0cmFpdCI6IjMxMHB4In0=",
                                "modules_gap" => "eyJwaG9uZSI6IjMifQ==",
                                "meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4IiwicG9ydHJhaXQiOiIxMXB4IDEwcHggNnB4In0=",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMjJweCAxMHB4In0=",
                                "cat_bg_hover" => "#4db2ec",
                                "modules_category_margin2" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNHB4IDBweCJ9",
                                "modules_category_margin1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggN3B4IDBweCJ9",
                                "art_title1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNnB4IDBweCJ9",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_size" => "",
                                "image_size2" => ""
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxOCIsInBvcnRyYWl0IjoiMTYifQ==",
                                "f_title1_font_line_height" => "1.4",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNCIsInBvcnRyYWl0IjoiMjIifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "eyJhbGwiOiIyMCIsInBvcnRyYWl0IjoiMTYiLCJwaG9uZSI6IjE0In0=",
                                "f_title2_font_line_height" => "1.2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "",
                                "f_title1_font_line_height" => "",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "10",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "450px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "22px 20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 10px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "220px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "16px 19px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 10px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_5',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 5',
                "base" => "tdb_category_grid_5",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_5.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "none",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwicG9ydHJhaXQiOiIxNzZweCIsImxhbmRzY2FwZSI6IjIzNHB4In0=",
                                "modules_gap" => "eyJwaG9uZSI6IjMifQ==",
                                "meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4IiwicG9ydHJhaXQiOiIxOXB4IDE4cHggMTRweCJ9",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMjJweCAyMHB4In0=",
                                "cat_bg_hover" => "#4db2ec",
                                "modules_category_margin2" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNHB4IDBweCJ9",
                                "modules_category_margin1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggN3B4IDBweCJ9",
                                "art_title1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNnB4IDBweCJ9",
                                "show_author3" => "none",
                                "show_date3" => "none",
                                "image_size" => "",
                                "image_size2" => "",
                                "image_size3" => "td_324x400",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiNDE0cHgiLCJwb3J0cmFpdCI6IjMxMnB4In0=",
                                "image_width2" => "eyJwaG9uZSI6IjgwIn0=",
                                "image_width3" => "eyJwaG9uZSI6IjgwIn0=",
                                "image_height3" => "eyJwaG9uZSI6IjE2NXB4IiwibGFuZHNjYXBlIjoiMTc2cHgiLCJwb3J0cmFpdCI6IjEzMnB4In0=",
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                                "f_title3_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                                "f_title3_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                                "f_title3_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                                "f_title3_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                                "f_title3_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                                "f_title3_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                                "f_title3_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                                "f_title3_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                                "f_title3_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                                "f_title3_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                                "f_title3_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                                "f_title3_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                                "f_title3_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                                "f_title3_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                                "f_title3_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title3_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxOCIsInBvcnRyYWl0IjoiMTYifQ==",
                                "f_title1_font_line_height" => "1.4",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                                "f_title3_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title3_font_line_height" => "1.4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNCIsInBvcnRyYWl0IjoiMjIifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "eyJhbGwiOiIyMCIsInBvcnRyYWl0IjoiMTYiLCJwaG9uZSI6IjE0In0=",
                                "f_title2_font_line_height" => "1.2",
                                "f_title3_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMifQ==",
                                "f_title3_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "",
                                "f_title1_font_line_height" => "",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                                "f_title3_font_size" => "",
                                "f_title3_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                                "f_title3_font_size" => "",
                                "f_title3_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                                "f_title3_font_size" => "eyJhbGwiOiIxOCIsImxhbmRzY2FwZSI6IjE3IiwicG9ydHJhaXQiOiIxNiIsInBob25lIjoiMTYifQ==",
                                "f_title3_font_line_height" => "1.3",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 3',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg3_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "4",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "450px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "22px 20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "254px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "14px 19px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 3',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size3",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment3',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "192px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "11px 15px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 7px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size3',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 3 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 3 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 3 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_6',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 6',
                "base" => "tdb_category_grid_6",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_6.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "show_date2" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwibGFuZHNjYXBlIjoiMzYwcHgiLCJwb3J0cmFpdCI6IjI3NnB4In0=",
                                "image_height1" => "eyJwaG9uZSI6IjIwMHB4IiwicG9ydHJhaXQiOiIxMzZweCIsImxhbmRzY2FwZSI6IjE3NXB4In0=",
                                "meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4IiwicG9ydHJhaXQiOiIyMHB4IDE1cHgifQ==",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCJ9",
                                "cat_bg_hover" => "#4db2ec",
                                "modules_category_margin2" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNHB4IDBweCIsInBob25lIjoiMHB4IDBweCA3cHggMHB4In0=",
                                "modules_category_margin1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggN3B4IDBweCIsInBob25lIjoiMHB4IDBweCA3cHggMHB4In0=",
                                "art_title1" => "eyJwaG9uZSI6IjBweCAwcHggOXB4IDBweCJ9",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_width2" => "eyJwaG9uZSI6IjgwIn0=",
                                "show_author1" => "eyJwaG9uZSI6ImlubGluZS1ibG9jayIsImFsbCI6Im5vbmUifQ==",
                                "show_date1" => "eyJwaG9uZSI6ImlubGluZS1ibG9jayIsImFsbCI6Im5vbmUifQ==",
                                "image_size" => "td_324x400",
                                'image_size2' => '',
                                "modules_gap" => "eyJwb3J0cmFpdCI6IjQiLCJwaG9uZSI6IjMifQ==",
                                "image_width3" => "eyJwaG9uZSI6IjgwIn0=",
                                "art_title2" => "eyJwaG9uZSI6IjBweCAwcHggMHB4IDBweCJ9",
                                "show_author3" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "show_date3" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "image_height3" => "eyJwaG9uZSI6IjE2NXB4In0=",
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                                "f_title3_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                                "f_title3_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                                "f_title3_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                                "f_title3_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                                "f_title3_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                                "f_title3_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                                "f_title3_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                                "f_title3_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                                "f_title3_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                                "f_title3_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                                "f_title3_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                                "f_title3_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                                "f_title3_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                                "f_title3_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJwaG9uZSI6IjE2In0=",
                                "f_title1_font_line_height" => "eyJwaG9uZSI6IjEuNCJ9",
                                "f_title2_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMifQ==",
                                "f_title2_font_line_height" => "1.4",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjE0In0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuNCJ9",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJwaG9uZSI6IjE3In0=",
                                "f_title1_font_line_height" => "eyJwaG9uZSI6IjEuNCJ9",
                                "f_title2_font_size" => "eyJwb3J0cmFpdCI6IjE0IiwiYWxsIjoiMTYiLCJwaG9uZSI6IjE0In0=",
                                "f_title2_font_line_height" => "1.4",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjE0In0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuNCJ9",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "",
                                "f_title1_font_line_height" => "",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                                "f_title3_font_size" => "",
                                "f_title3_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJwaG9uZSI6IjIwIiwiYWxsIjoiMTQifQ==",
                                "f_title1_font_line_height" => "eyJwaG9uZSI6IjEuNCIsImFsbCI6IjEuNCJ9",
                                "f_title2_font_size" => "eyJwaG9uZSI6IjE1IiwiYWxsIjoiMjIiLCJwb3J0cmFpdCI6IjIwIn0=",
                                "f_title2_font_line_height" => "1.3",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjE1In0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuNCJ9",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJwaG9uZSI6IjIyIiwiYWxsIjoiMTUifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIyNSIsInBvcnRyYWl0IjoiMjIiLCJwaG9uZSI6IjE1In0=",
                                "f_title2_font_line_height" => "1.3",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjE1In0=",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJwaG9uZSI6IjIyIiwiYWxsIjoiMTYiLCJwb3J0cmFpdCI6IjE1In0=",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIyNyIsInBvcnRyYWl0IjoiMjQiLCJwaG9uZSI6IjE1In0=",
                                "f_title2_font_line_height" => "1.3",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjE1In0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "10",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "195px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "13px 10px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1 - Mobile',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_width3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "80",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "165px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "16px 15px 11px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 7px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size3',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),

                        array(
                            "param_name"  => "auth_date_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "400px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 10px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 1 title - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 1 category tag - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 1 meta info - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_5",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 5",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_7',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 7',
                "base" => "tdb_category_grid_7",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_7.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjIwMHB4IiwibGFuZHNjYXBlIjoiMzUwcHgiLCJwb3J0cmFpdCI6IjI3MHB4In0=",
                                "image_height1" => "eyJwaG9uZSI6IjIwMHB4IiwibGFuZHNjYXBlIjoiMzUwcHgiLCJwb3J0cmFpdCI6IjI3MHB4In0=",
                                "meta_padding2" => "eyJwaG9uZSI6IjE1cHggMTVweCAxMHB4IiwicG9ydHJhaXQiOiIyMHB4IDEwcHggMTZweCJ9",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMTVweCAxMHB4IiwicG9ydHJhaXQiOiIyMnB4IDEwcHgifQ==",
                                "cat_bg_hover" => "#4db2ec",
                                "modules_category_margin2" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNHB4IDBweCJ9",
                                "modules_category_margin1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggN3B4IDBweCIsInBob25lIjoiMHB4IDBweCA3cHggMHB4In0=",
                                "art_title1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNnB4IDBweCIsInBob25lIjoiMHB4IDBweCAwcHggMHB4In0=",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_width2" => "eyJwaG9uZSI6IjEwMCJ9",
                                "show_author1" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "show_date1" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "image_size" => "",
                                "image_size2" => ""
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxOCIsInBvcnRyYWl0IjoiMTYifQ==",
                                "f_title1_font_line_height" => "1.4",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNCIsInBvcnRyYWl0IjoiMjIifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "eyJhbGwiOiIyMCIsInBvcnRyYWl0IjoiMTYiLCJwaG9uZSI6IjE0In0=",
                                "f_title2_font_line_height" => "1.2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "",
                                "f_title1_font_line_height" => "",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "400px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 10px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "400px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 10px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_8',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 8',
                "base" => "tdb_category_grid_8",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_8.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "none",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_width1" => "eyJwaG9uZSI6IjUwIn0=",
                                "image_width2" => "eyJwaG9uZSI6IjUwIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjE1MHB4IiwicG9ydHJhaXQiOiIxMzZweCIsImxhbmRzY2FwZSI6IjQ2LjYifQ==",
                                "image_height1" => "eyJwaG9uZSI6IjE1MHB4IiwibGFuZHNjYXBlIjoiMTI1IiwicG9ydHJhaXQiOiIyNzRweCJ9",
                                "meta_padding2" => "eyJwaG9uZSI6IjE1cHggMTVweCAxMHB4IiwicG9ydHJhaXQiOiIyMHB4IDEwcHggMTZweCJ9",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMTVweCAxMHB4IiwicG9ydHJhaXQiOiIyMnB4IDEwcHgifQ==",
                                "cat_bg_hover" => "#4db2ec",
                                "modules_category_margin1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggN3B4IDBweCIsInBob25lIjoiMHB4IDBweCA3cHggMHB4In0=",
                                "modules_category_margin2" => "eyJwb3J0cmFpdCI6IjBweCAwcHggN3B4IDBweCIsInBob25lIjoiMHB4IDBweCA3cHggMHB4In0=",
                                "art_title1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggNnB4IDBweCIsInBob25lIjoiMHB4IDBweCAwcHggMHB4In0=",
                                "show_author1" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "show_date1" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "image_size" => "",
                                "image_size2" => ""
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxOCIsInBvcnRyYWl0IjoiMTYiLCJwaG9uZSI6IjE2In0=",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjQiLCJwaG9uZSI6IjEuMyJ9",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNCIsInBvcnRyYWl0IjoiMjIiLCJwaG9uZSI6IjE0In0=",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "eyJhbGwiOiIyMCIsInBvcnRyYWl0IjoiMTYiLCJwaG9uZSI6IjE0In0=",
                                "f_title2_font_line_height" => "1.2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNiIsInBvcnRyYWl0IjoiMjQiLCJwaG9uZSI6IjE2In0=",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMyJ9",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMTYifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "eyJwaG9uZSI6IjEuMiJ9",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIxNiIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "eyJwaG9uZSI6IjEuMiJ9",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "30",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "400px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 19px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 10px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "199px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "14px 19px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 10px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_5",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 5",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_9',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 9',
                "base" => "tdb_category_grid_9",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_9.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "none",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_width2" => "eyJwaG9uZSI6IjgwIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwibGFuZHNjYXBlIjoiMTM1cHgiLCJwb3J0cmFpdCI6IjExMHB4In0=",
                                "image_height1" => "eyJwaG9uZSI6IjIwMHB4IiwibGFuZHNjYXBlIjoiMzQwcHgiLCJwb3J0cmFpdCI6IjI2MHB4In0=",
                                "meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMTVweCAxNHB4IDE2cHggIn0=",
                                "cat_bg_hover" => "#4db2ec",
                                "modules_category_margin1" => "eyJwaG9uZSI6IjBweCAwcHggN3B4IDBweCIsInBvcnRyYWl0IjoiMHB4IDBweCAzcHggMHB4In0=",
                                "art_title1" => "eyJwaG9uZSI6IjBweCAwcHggMHB4IDBweCIsInBvcnRyYWl0IjoiMHB4IDBweCA1cHggMHB4In0=",
                                "show_author1" => "",
                                "show_date1" => "",
                                "image_size" => "",
                                "image_size2" => "td_324x400",
                                "modules_category_padding2" => "eyJwaG9uZSI6IjNweCA2cHggM3B4IDZweCJ9",
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjEzIn0=",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxOCIsInBvcnRyYWl0IjoiMTYifQ==",
                                "f_title1_font_line_height" => "1.4",
                                "f_title2_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjEzIn0=",
                                "f_title2_font_line_height" => "1.3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNCIsInBvcnRyYWl0IjoiMjIifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "",
                                "f_title1_font_line_height" => "",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTMifQ==",
                                "f_title2_font_line_height" => "1.2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title1_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_title2_font_size" => "eyJhbGwiOiIxNyIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjE2In0=",
                                "f_title2_font_line_height" => "1.2",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "370px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "150px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "10px 14px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1px 5px 1px 5px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_5",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 5",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );

        td_api_block::add('tdb_category_grid_10',
            array(
                'map_in_td_composer' => true,
                "name" => 'Category Grid 10',
                "base" => "tdb_category_grid_10",
                'tdc_category' => 'Category page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/category/tdb_category_grid_10.php',
                'tdc_style_params' => array(
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "meta_info_vert" => "content-vert-bottom",
                                "image_zoom" => "yes",
                                "show_author2" => "none",
                                "show_date2" => "none",
                                "modules_category" => "above",
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
                                "image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiMjEwcHgiLCJwb3J0cmFpdCI6IjE1NXB4In0=",
                                "meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=",
                                "meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMTVweCAxNXB4IDEwcHggIn0=",
                                "cat_bg_hover" => "#4db2ec",
                                "modules_category_margin1" => "eyJwaG9uZSI6IjBweCAwcHggN3B4IDBweCJ9",
                                "art_title1" => "eyJwb3J0cmFpdCI6IjBweCAwcHggMHB4IDBweCJ9",
                                "show_author1" => "eyJwb3J0cmFpdCI6Im5vbmUifQ==",
                                "show_date1" => "eyJwb3J0cmFpdCI6Im5vbmUifQ==",
                                "image_size" => "",
                                "image_size2" => "td_324x400",
                                "modules_category_padding2" => "eyJwaG9uZSI6IjNweCA2cHggM3B4IDZweCJ9",
                                "modules_gap" => "eyJwaG9uZSI6IjIifQ==",
                                "show_author3" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "show_date3" => "eyJwaG9uZSI6Im5vbmUifQ==",
                                "image_width2" => "eyJwaG9uZSI6IjgwIn0=",
                                "image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwibGFuZHNjYXBlIjoiMTYwcHgiLCJwb3J0cmFpdCI6IjEyMHB4In0=",
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "394",
                                "f_title2_font_family" =>        "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title1_font_family" =>        "721",
                                "f_title2_font_family" =>        "721",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "507",
                                "f_title2_font_family" =>        "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "653",
                                "f_title2_font_family" =>        "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "147",
                                "f_title2_font_family" =>        "147",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "445",
                                "f_title2_font_family" =>        "445",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "406",
                                "f_title2_font_family" =>        "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "646",
                                "f_title2_font_family" =>        "646",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "41",
                                "f_title2_font_family" =>        "41",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "502",
                                "f_title2_font_family" =>        "502",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "331",
                                "f_title2_font_family" =>        "331",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "663",
                                "f_title2_font_family" =>        "663",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "639",
                                "f_title2_font_family" =>        "639",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_family" =>        "",
                                "f_title2_font_family" =>        "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjEzIn0=",
                                "f_title2_font_line_height" => "1.3",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjEzIn0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQifQ==",
                                "f_title1_font_line_height" => "1.3",
                                "f_title2_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjEzIn0=",
                                "f_title2_font_line_height" => "1.3",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjEzIn0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyMCIsInBvcnRyYWl0IjoiMTYiLCJwaG9uZSI6IjE2In0=",
                                "f_title1_font_line_height" => "1.2",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjEzIn0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "22",
                                "f_title1_font_line_height" => "eyJwaG9uZSI6IjEuMyIsImFsbCI6IjEuMiJ9",
                                "f_title2_font_size" => "",
                                "f_title2_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjEzIn0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMyJ9",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "24",
                                "f_title1_font_line_height" => "eyJwaG9uZSI6IjEuMiIsImFsbCI6IjEuMSJ9",
                                "f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTMifQ==",
                                "f_title2_font_line_height" => "1.2",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjE2In0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMiJ9",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title1_font_size" => "eyJhbGwiOiIyNiIsInBvcnRyYWl0IjoiMjIiLCJwaG9uZSI6IjIyIn0=",
                                "f_title1_font_line_height" => "eyJwaG9uZSI6IjEuMiIsImFsbCI6IjEuMSJ9",
                                "f_title2_font_size" => "eyJhbGwiOiIxNyIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjE2In0=",
                                "f_title2_font_line_height" => "1.2",
                                "f_title3_font_size" => "eyJwaG9uZSI6IjE2In0=",
                                "f_title3_font_line_height" => "eyJwaG9uZSI6IjEuMiJ9",
                            ),

                            array(
                                'tdc_preset_name' => 'Text horizontal alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Text vertical alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align_v',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - top
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v1',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-top",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - middle
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v2',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text vertical alignment - bottom
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align_v3',
                                'tdc_preset_individual' => '1',
                                "meta_info_vert" => "content-vert-bottom",
                            ),

                            array(
                                'tdc_preset_name' => 'Grid height',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_grid_height',
                            ),
                            array(
                                'tdc_preset_name' => '', // Grid height - 2:3
                                'tdc_preset_class' => 'tdcp_img tdcp_grid_height tdcp_grid_height1',
                                'tdc_preset_individual' => '1',
                                "image_height" => "150",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_grid_height2',
                                'tdc_preset_individual' => '1',
                                "image_height" => "133",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Grid height - 7:8
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_grid_height3',
                                'tdc_preset_individual' => '1',
                                "image_height" => "114",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Grid height - 1:1
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_grid_height4',
                                'tdc_preset_individual' => '1',
                                "image_height" => "100",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Grid height - 4:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_grid_height5',
                                'tdc_preset_individual' => '1',
                                "image_height" => "75",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Grid height - 16:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_grid_height6',
                                'tdc_preset_individual' => '1',
                                "image_height" => "56",
                                "hide_image" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_style',
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 1 - default
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style1',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
                                "overlay_h_general" => "",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 2 - colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style2',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjYpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuNikscmdiYSgxOTgsNTcsNTcsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjYpLHJnYmEoMTk4LDU3LDU3LDAuNikifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC41OSkiLCJjb2xvcjIiOiJyZ2JhKDIxNSw5NiwxODMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiLTQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoLTQ1ZGVnLHJnYmEoMjE1LDk2LDE4MywwLjYpLHJnYmEoNTksMTIwLDE4MCwwLjU5KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KC00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC42KSxyZ2JhKDU5LDEyMCwxODAsMC41OSkifQ==",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC42KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjYpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuNikscmdiYSgyNDIsMTIyLDUzLDAuNikpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC42KSxyZ2JhKDI0MiwxMjIsNTMsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjYpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuNikscmdiYSg3NCwxNDMsOTQsMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjYpLHJnYmEoNzQsMTQzLDk0LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 3 - flat colors
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style3',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDE5OCw1Nyw1NywwLjgpIiwiY29sb3IyIjoicmdiYSgyMDksMTE4LDcwLDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSgyMDksMTE4LDcwLDAuOCkscmdiYSgxOTgsNTcsNTcsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoMjA5LDExOCw3MCwwLjgpLHJnYmEoMTk4LDU3LDU3LDAuOCkifQ==",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDU5LDEyMCwxODAsMC44KSIsImNvbG9yMiI6InJnYmEoMjE1LDk2LDE4MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyMTUsOTYsMTgzLDAuOCkscmdiYSg1OSwxMjAsMTgwLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDIxNSw5NiwxODMsMC44KSxyZ2JhKDU5LDEyMCwxODAsMC44KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI0MiwxMjIsNTMsMC44KSIsImNvbG9yMiI6InJnYmEoMjQ0LDIwOCw2MywwLjgpIiwibWl4ZWRDb2xvcnMiOltdLCJkZWdyZWUiOiItNDUiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgtNDVkZWcscmdiYSgyNDQsMjA4LDYzLDAuOCkscmdiYSgyNDIsMTIyLDUzLDAuOCkpOyIsImNzc1BhcmFtcyI6Ii00NWRlZyxyZ2JhKDI0NCwyMDgsNjMsMC44KSxyZ2JhKDI0MiwxMjIsNTMsMC44KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDc0LDE0Myw5NCwwLjgpIiwiY29sb3IyIjoicmdiYSg3NywxNzgsMjM2LDAuOCkiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjQ1IiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoNDVkZWcscmdiYSg3NywxNzgsMjM2LDAuOCkscmdiYSg3NCwxNDMsOTQsMC44KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkpOyIsImNzc1BhcmFtcyI6IjQ1ZGVnLHJnYmEoNzcsMTc4LDIzNiwwLjgpLHJnYmEoNzQsMTQzLDk0LDAuOCkifQ==",
                                "lightsky" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 4 - light sky
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style4',
                                'tdc_preset_individual' => '1',
                                "overlay_general" => "rgba(0,0,0,0.7)",
                                "overlay_h_general" => "rgba(77,178,236,0.3)",
                                "overlay_1" => "",
                                "overlay_2" => "",
                                "overlay_3" => "",
                                "overlay_4" => "",
                                "overlay_5" => "",
                                "lightsky" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Style 5 - rainbow
                                'tdc_preset_class' => 'tdcp_img tdcp_style tdcp_style5',
                                'tdc_preset_individual' => '1',
                                "overlay_h_general" => "",
                                "overlay_1" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "overlay_2" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDExMiwyNTUsMTUzLDAuNikiLCJjb2xvcjIiOiJyZ2JhKDI0NCwxMzYsMTMsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDI0NCwxMzYsMTMsMC42KSxyZ2JhKDExMiwyNTUsMTUzLDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMjQ0LDEzNiwxMywwLjYpLHJnYmEoMTEyLDI1NSwxNTMsMC42KSJ9",
                                "overlay_3" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDEyNiwxOTEsMjU1LDAuNikiLCJjb2xvcjIiOiJyZ2JhKDE5NiwxNSwxMjEsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDE5NiwxNSwxMjEsMC42KSxyZ2JhKDEyNiwxOTEsMjU1LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMTk2LDE1LDEyMSwwLjYpLHJnYmEoMTI2LDE5MSwyNTUsMC42KSJ9",
                                "overlay_4" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDQyLDIzNiwxMTYsMC42KSIsImNvbG9yMiI6InJnYmEoMCwyMiwxOTAsMC42KSIsIm1peGVkQ29sb3JzIjpbXSwiZGVncmVlIjoiMjAiLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgyMGRlZyxyZ2JhKDAsMjIsMTkwLDAuNikscmdiYSg0MiwyMzYsMTE2LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoMCwyMiwxOTAsMC42KSxyZ2JhKDQyLDIzNiwxMTYsMC42KSJ9",
                                "overlay_5" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDI1NSwxMTEsNDksMC42KSIsImNvbG9yMiI6InJnYmEoNjUsMTIsMTg4LDAuNikiLCJtaXhlZENvbG9ycyI6W10sImRlZ3JlZSI6IjIwIiwiY3NzIjoiYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQoMjBkZWcscmdiYSg2NSwxMiwxODgsMC42KSxyZ2JhKDI1NSwxMTEsNDksMC42KSk7YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikpOyIsImNzc1BhcmFtcyI6IjIwZGVnLHJnYmEoNjUsMTIsMTg4LDAuNikscmdiYSgyNTUsMTExLDQ5LDAuNikifQ==",
                                "lightsky" => "",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mcg2_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "10",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Right' => 'content-vert-bottom'
                            ),
                            "heading" => 'Meta info vert align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "image_zoom",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Zoom effect on hover",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment1',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "33.33",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "230px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 9px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 7px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review1",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size1',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding1",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 1 - Mobile',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_width3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "80",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "165px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "11px 15px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 7px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 3px 6px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review3",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size3',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding3",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category Grid 2',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size2",
                            "type"        => "dropdown",
                            "value"       => array(
                                'XSmall - 324px' => 'td_324x400',
                                'Small - 696px'  => '',
                                'Large - 1068px' => 'td_1068x0',
                                'Full - 1920px'  => 'td_1920x0'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment2',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_height2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "175px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "video_icon2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name"  => "video_icon_pos2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Center'  => 'center',
                                'Corner' => 'corner',
                            ),
                            "heading"     => 'Video icon position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_width2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "10px 14px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "art_title2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_title_padd2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_margin2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 5px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1px 5px 1px 5px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "show_cat2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_author2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "show_date2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_review2",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            'param_name'  => 'review_size2',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "auth_date_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author & date padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 1 title - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 1 category tag - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 1 meta info - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay color",
                            "value" => "",
                            "class" => "td-colorpicker-double-a",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_h_general",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "General module overlay hover color",
                            "value" => "",
                            "class" => "td-colorpicker-double-b",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_1",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 1",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_2",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 2",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_3",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 3",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_4",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 4",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "overlay_5",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Module overlay color 5",
                            "value" => "",
                            "class" => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name"  => "lightsky",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Lightsky",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name"  => "meta_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Meta info shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Article title background color',
                            "param_name"  => "title_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "title_shadow",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Article title shadow off",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Style'
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Author & date background color',
                            "param_name"  => "auth_date_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    ),
                    self::get_map_filter_array()
                )
            )
        );


        /**
         * *************************************************************************************************************
         * Author Page Elements
         * *************************************************************************************************************
         */

        td_api_block::add('tdb_author_name',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author Name',
                "base" => "tdb_author_name",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_name.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H1 - Default' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line width',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line height',
                            "description" => "",
                            "placeholder" => '2',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'line_space',
                            "value" => '',
                            "heading" => 'Line space',
                            "class" => 'tdc-textfield-small',
                            "description" => '',
                            "placeholder" => '50',
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '40',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-100',
                            'range_max' => '100',
                            'range_step' => '10',
                        ),
                        array(
                            "param_name" => "line_position",
                            "type" => "dropdown",
                            "value" => array(
                                'Below text' => '',
                                'Above text' => 'above',
                            ),
                            "heading" => 'Line position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Title color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "line_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Line color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title background',
                            "param_name"  => "style_bg",
                            "value"       => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "style_bg_space",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Title background space',
                            "description" => "",
                            "placeholder" => "5px 16px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_author_image',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author Image',
                "base" => "tdb_author_image",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_image.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "image_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Image width',
                            "description" => "",
                            "placeholder" => '75',
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name" => "image_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Image height',
                            "description" => "",
                            "placeholder" => '75',
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name" => "image_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Image radius',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "overlay",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Overlay color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "all_border_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Border size',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_border_color",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "value" => '',
                            "description" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 0, 0, 0),
                    td_config_helper::mix_blend(''),
                    td_config_helper::image_filters(''),
                    self::get_block_style()
                ),
            )
        );

        td_api_block::add('tdb_author_posts_count',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author Posts Count',
                "base" => "tdb_author_posts_count",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_posts_count.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "post_type",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Post type',
                            "description" => "",
                            "placeholder" => "post",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Layout',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "add_txt",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "POSTS",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "count_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Counter padding',
                            "description" => "",
                            "placeholder" => "5px 10px 4px 10px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "border_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Counter border radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counter text color',
                            "param_name"  => "count_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counter background color',
                            "param_name"  => "count_bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_count', true, 'Counter text' ),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_author_comments_count',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author Comments Count',
                "base" => "tdb_author_comments_count",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_comments_count.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "add_txt",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "COMMENTS",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "count_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Counter padding',
                            "description" => "",
                            "placeholder" => "5px 10px 4px 10px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "border_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Counter border radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counter text color',
                            "param_name"  => "count_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counter background color',
                            "param_name"  => "count_bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_count', true, 'Counter text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_author_url',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author URL',
                "base" => "tdb_author_url",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_url.php',
                'tdc_style_params' => array(
                    'add_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name"  => "add_text",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Additional text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => '',
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open author url in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "url_rel",
                            "type" => "dropdown",
                            "value" => array(
                                'Disable' => '',
                                'Nofollow' => 'nofollow',
                                'Noopener' => 'noopener',
                                'Noreferrer' => 'noreferrer'
                            ),
                            "heading" => "Set rel attribute",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Additional text color',
                            "param_name"  => "add_text_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author url color',
                            "param_name"  => "url_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author url hover color',
                            "param_name"  => "url_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_add', true, 'Additional text' ),
                    td_config_helper::get_map_block_font_array( 'f_url', false, 'Url text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_author_description',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author Description',
                "base" => "tdb_author_description",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_description.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                            'group'      => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
	                    array(
		                    "param_name"  => "h_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'H1-6 color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "",
	                    ),
	                    array(
		                    "param_name"  => "a_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "td-colorpicker-double-a",
		                    "heading"     => 'Links color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "",
	                    ),
	                    array(
		                    "param_name"  => "a_hover_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "td-colorpicker-double-b",
		                    "heading"     => 'Links hover color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "",
	                    ),
	                    array(
		                    "param_name"  => "bq_color",
		                    "type"        => "colorpicker",
		                    "holder"      => "div",
		                    "class"       => "",
		                    "heading"     => 'Default blockquote color',
		                    "value"       => '',
		                    "description" => '',
                            "group"       => "",
	                    ),
                        array(
                            "param_name"  => "caption_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Image caption text color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "li_color",
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Lists text color',
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => ""
                        ),
	                    array(
		                    "param_name" => "separator",
		                    "type" => "horizontal_separator",
		                    "value" => "",
		                    "class" => "tdc-separator",
                            "group"       => "",
	                    ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_descr', true, 'Description text' ),
	                td_config_helper::get_map_block_font_array( 'f_h1', false, 'H1' ),
	                td_config_helper::get_map_block_font_array( 'f_h2', false, 'H2' ),
	                td_config_helper::get_map_block_font_array( 'f_h3', false, 'H3' ),
	                td_config_helper::get_map_block_font_array( 'f_h4', false, 'H4' ),
	                td_config_helper::get_map_block_font_array( 'f_h5', false, 'H5' ),
	                td_config_helper::get_map_block_font_array( 'f_h6', false, 'H6' ),
	                td_config_helper::get_map_block_font_array( 'f_list', false, 'Lists' ),
	                td_config_helper::get_map_block_font_array( 'f_bq', false, 'Default blockquote' ),
                    td_config_helper::get_map_block_font_array( 'f_caption', false, 'Image caption text' ),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_author_socials',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author Socials',
                "base" => "tdb_author_socials",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_socials.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Columns' => 'inline-block',
                                'Rows' => 'block',
                            ),
                            "heading" => 'Social network name',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "social_rel",
                            "type" => "dropdown",
                            "value" => array(
                                'Disable' => '',
                                'Nofollow' => 'nofollow',
                                'Noopener' => 'noopener',
                                'Noreferrer' => 'noreferrer'
                            ),
                            "heading" => "Set rel attribute",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            'param_name' => 'icons_size',
                            'type' => 'range-responsive',
                            'value' => '15',
                            'heading' => 'Icons size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '8',
                            'range_max' => '50',
                            'range_step' => '1',
                        ),
                        array(
                            'param_name' => 'icons_padding',
                            'type' => 'range-responsive',
                            'value' => '1',
                            'heading' => 'Padding around icons',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '3',
                            'range_step' => '0.1',
                        ),
                        array(
                            'param_name' => 'icons_spacing',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Spacing around icons',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '15',
                        ),
                        array(
                            'param_name' => 'icons_border_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Icons border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '0',
                        ),
                        array(
                            "param_name" => "show_names",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Hide' => 'none',
                                'Show' => 'inline-block',
                            ),
                            "heading" => 'Social network name',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            'param_name' => 'name_space_left',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Social network name left space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '7',
                        ),
                        array(
                            'param_name' => 'name_space_right',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Social network name right space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '0',
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icons color',
                            "param_name"  => "icons_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icons hover color',
                            "param_name"  => "icons_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icons background color',
                            "param_name"  => "icons_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icons background hover color',
                            "param_name"  => "icons_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Social network name color',
                            "param_name"  => "name_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Social network name hover color',
                            "param_name"  => "name_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_name', true, 'Social network name' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_author_box',
            array(
                'map_in_td_composer' => true,
                "name" => 'Author Box',
                "base" => "tdb_author_box",
                'tdc_category' => 'Author page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/author/tdb_author_box.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'photo_space' => 'eyJwaG9uZSI6IjEwIn0='
                            ),
                            array(
                                'tdc_preset_name' => 'Default',
                                'photo_space' => 'eyJwaG9uZSI6IjEwIn0='
                            ),
                            array(
                                'tdc_preset_name' => 'Gray Background',
                                "photo_size" => "eyJwaG9uZSI6IjEwMCIsImFsbCI6IjExMCJ9",
                                "tdc_css" => "eyJhbGwiOnsiYmFja2dyb3VuZC1jb2xvciI6IiNmNGY0ZjQiLCJkaXNwbGF5IjoiIn0sInBob25lIjp7Im1hcmdpbi1yaWdodCI6Ii0yMCIsIm1hcmdpbi1sZWZ0IjoiLTIwIiwiY29udGVudC1oLWFsaWduIjoiY29udGVudC1ob3Jpei1jZW50ZXIiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ==",
                                "add_description_margin" => "20px 0 15px 0",
                                "add_name_margin" => "5px 0",
                                "icons_border_radius" => "50%",
                                "photo_radius" => "50%",
                                "f_auth_font_family" => "638",
                                "f_auth_font_size" => "eyJhbGwiOiIyNiIsInBvcnRyYWl0IjoiMjIifQ==",
                                "f_descr_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjE0In0=",
                                "photo_space" => "eyJwaG9uZSI6IjE1In0=",
                                "all_border_width" => "0",
                                "icons_spacing" => "12",
                                "f_auth_font_weight" => "400",
                                "f_auth_font_transform" => "",
                                "f_auth_font_line_height" => "1.2",
                                "f_url_font_size" => "14",
                                "align_vert" => "content-vert-top",
                                "f_descr_font_family" => "521",
                                "f_descr_font_weight" => "300",
                                "f_url_font_style" => "normal",
                                "f_url_font_family" => "521",
                                "f_url_font_weight" => "",
                                "icons_padding" => "2.8",
                                "icons_bg" => "#ffffff",
                            ),
                            array(
                                'tdc_preset_name' => 'Border top & bottom',
                                "photo_space" => "eyJwaG9uZSI6IjEwIn0=",
                                "all_border_width" => "0",
                                "photo_size" => "116",
                                "photo_radius" => "50%",
                                "f_auth_font_family" => "438",
                                "f_auth_font_weight" => "100",
                                "f_auth_font_transform" => "uppercase",
                                "f_auth_font_size" => "20",
                                "tdc_css" => "eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJib3JkZXItYm90dG9tLXdpZHRoIjoiMSIsInBhZGRpbmctdG9wIjoiNDAiLCJwYWRkaW5nLWJvdHRvbSI6IjQwIiwiYm9yZGVyLWNvbG9yIjoiI2VhZWFlYSIsImRpc3BsYXkiOiIifX0=",
                                "icons_color" => "#aaaaaa",
                                "f_url_font_size" => "12",
                                "f_descr_font_family" => "456",
                                "f_descr_font_size" => "14",
                                "f_descr_font_line_height" => "22px",
                                "add_name_margin" => "5px 0",
                                "add_description_margin" => "10px 0",
                            ),
                            array(
                                'tdc_preset_name' => 'With shadow',
                                "tdc_css" => "eyJhbGwiOnsic2hhZG93LXNpemUiOiIyMCIsInNoYWRvdy1jb2xvciI6InJnYmEoMCwwLDAsMC4xKSIsInNoYWRvdy1vZmZzZXQtdiI6IjQiLCJkaXNwbGF5IjoiIn19",
                                "all_border_width" => "0",
                                "f_auth_font_weight" => "400",
                                "f_auth_font_size" => "20",
                                "f_url_font_style" => "normal",
                                "f_url_font_size" => "12",
                                "f_descr_font_size" => "14",
                                "f_descr_font_weight" => "300",
                                "f_auth_font_family" => "",
                                "f_descr_font_family" => "521",
                                "icons_size" => "13",
                                "icons_spacing" => "20",
                                "photo_size" => "eyJhbGwiOiIxMTUiLCJwaG9uZSI6Ijk2In0=",
                                "photo_space" => "20",
                                "add_description_margin" => "eyJwaG9uZSI6IjE1cHggMCAwIDAifQ==",
                                "add_name_margin" => "eyJwaG9uZSI6IjAgMCA1cHggMCJ9",
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "box_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Box padding',
                            "description" => "",
                            "placeholder" => "21px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "all_border_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Box border width',
                            "description" => "",
                            "placeholder" => "1",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Box border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "photo_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Author photo size',
                            "description" => "",
                            "placeholder" => "96",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "photo_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Author photo space',
                            "description" => "",
                            "placeholder" => "21",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "photo_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Author photo radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open author url in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "align_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Top' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Bottom' => 'content-vert-bottom'
                            ),
                            "heading" => 'Vertical align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Spacing',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "counter_margin",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Counters margins',
                            "description" => "",
                            "placeholder" => "0px 10px 12px 0px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "counter_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Counters paddings',
                            "description" => "",
                            "placeholder" => "5px 10px 4px 10px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "add_description_margin",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Description margins',
                            "description" => "",
                            "placeholder" => "0 0 0 0",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Social icons',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "social_rel",
                            "type" => "dropdown",
                            "value" => array(
                                'Disable' => '',
                                'Nofollow' => 'nofollow',
                                'Noopener' => 'noopener',
                                'Noreferrer' => 'noreferrer'
                            ),
                            "heading" => "Set rel attribute",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            'param_name' => 'icons_size',
                            'type' => 'range-responsive',
                            'value' => '15',
                            'heading' => 'Icons size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '8',
                            'range_max' => '50',
                            'range_step' => '1',
                        ),
                        array(
                            'param_name' => 'icons_padding',
                            'type' => 'range-responsive',
                            'value' => '1',
                            'heading' => 'Padding around icons',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '3',
                            'range_step' => '0.1',
                        ),
                        array(
                            'param_name' => 'icons_spacing',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Spacing around icons',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '15',
                        ),
                        array(
                            'param_name' => 'icons_border_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Icons border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '0',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Box border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Meta info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counters text color',
                            "param_name"  => "count_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Counters background color',
                            "param_name"  => "count_bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author url color',
                            "param_name"  => "url_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author url hover color',
                            "param_name"  => "url_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Social icons',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Social icons color',
                            "param_name"  => "icons_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Social icons hover color',
                            "param_name"  => "icons_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Social icons background color',
                            "param_name"  => "icons_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Social icons background hover color',
                            "param_name"  => "icons_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Fonts',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_count', true, 'Counters text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_url', false, 'Author url text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text', 'Style' ),
                    self::get_block_style()
                )
            )
        );

        /**
         * *************************************************************************************************************
         * Search Page Elements
         * *************************************************************************************************************
         */

        td_api_block::add('tdb_search_form',
            array(
                'map_in_td_composer' => true,
                "name" => 'Search Form',
                "base" => "tdb_search_form",
                'tdc_category' => 'Extended',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/search/tdb_search_form.php',
                'tdc_style_params' => array(
                    'message',
                    'btn_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name"  => "width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Block width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '100%',
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Make inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
						// post type
	                    array(
			                "param_name" => "separator",
			                "type" => "text_separator",
			                'heading' => 'CPT Search',
			                "value" => "",
			                "class" => "tdc-separator",
			                "group" => '',
			            ),
						array(
			                "param_name" => "post_type",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => 'Post Type',
			                "description" => "The post type to search for.",
			                "holder" => "div",
			                "class" => "tdc-textfield-big"
			            ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Input',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "input_placeholder",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Placeholder",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            'param_name' => 'placeholder_travel',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Placeholder travel',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '100',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "input_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3px 9px"
                        ),
                        array(
                            "param_name" => "border_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Border size',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "1px 0px 1px 1px",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name"  => "border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => '0',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "btn_text",
                            "type" => "textfield",
                            "value" => 'Search',
                            "heading" => 'Text',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "aria_label",
                            "type" => "textfield",
                            "value" => 'Search',
                            "heading" => 'Aria Label',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            'param_name' => 'btn_tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            "param_name" => "btn_icon_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before' => '',
                                'After' => 'after',
                            ),
                            "heading" => 'Icon position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "12"
                        ),
                        array(
                            "param_name" => "btn_icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0"
                        ),
                        array(
                            'param_name' => 'btn_icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_margin",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Margin",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
                        ),
                        array(
                            "param_name" => "btn_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "7px 15px 8px 15px",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
                        ),
                        array(
                            "param_name" => "btn_border_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Border size',
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "0",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Results message',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "show_message",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show message in composer',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "message",
                            "type" => 'textarea_raw_html',
                            "value" => base64_encode('If you\'re not happy with the results, please do another search.'),
                            "heading" => 'Message',
                            "description" => '',
                            "class" => "tdc-textarea-extrasmall"
                        ),
                        array(
                            "param_name"  => "msg_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Top space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '11',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Input',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "input_text",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Placeholder color',
                            "param_name" => "placeholder_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            'param_name' => 'placeholder_opacity',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Focus placeholder opacity',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '1',
                            'range_step' => '0.1',
                            "group" => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Background color',
                            "param_name"  => "input_bg",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Border color',
                            "param_name"  => "input_border",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Border focus color',
                            "param_name"  => "input_border_h",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('input_shadow', 'Input shadow', 0, 0, 0, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Button',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Text color',
                            "param_name"  => "btn_text_color",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "btn_text_h",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "btn_icon_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "btn_icon_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "btn_bg",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "btn_bg_h",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Border color',
                            "param_name"  => "btn_border",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "btn_border_h",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('btn_shadow', 'Button shadow', 0, 0, 0, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Results message',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Message text color',
                            "param_name"  => "msg_color",
                            "value"       => '',
                            "description" => '',
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_input', true, 'Input text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_placeholder', false, 'Placeholder text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Button text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_msg', false, 'Message text', 'Style' ),
                    self::get_block_style()
                )
            )
        );


        /**
         * *************************************************************************************************************
         * Date Page Elements
         * *************************************************************************************************************
         */

        /*td_api_block::add('tdb_date_title',
            array(
                'map_in_td_composer' => true,
                "name" => 'Date Page Title',
                "base" => "tdb_date_title",
                'tdc_category' => 'Date page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/date/tdb_date_title.php',
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H1 - Default' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name"  => "add_text",
                            "type"        => "textfield",
                            "value"       => 'Monthly Archives:',
                            "heading"     => 'Additional text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => '',
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line width',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line height',
                            "description" => "",
                            "placeholder" => '2',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'line_space',
                            "value" => '',
                            "heading" => 'Line space',
                            "class" => 'tdc-textfield-small',
                            "description" => '',
                            "placeholder" => '50',
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '40',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-100',
                            'range_max' => '100',
                            'range_step' => '10',
                        ),
                        array(
                            "param_name" => "line_position",
                            "type" => "dropdown",
                            "value" => array(
                                'Below text' => '',
                                'Above text' => 'above',
                            ),
                            "heading" => 'Line position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Title color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "add_text_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Additional text color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "line_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Line color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title background',
                            "param_name"  => "style_bg",
                            "value"       => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "style_bg_space",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Title background space',
                            "description" => "",
                            "placeholder" => "5px 16px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    array(
                        array (
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    )
                )
            )

        );*/

        /**
         * *************************************************************************************************************
         * Tag Page Elements
         * *************************************************************************************************************
         */

        /*td_api_block::add('tdb_tag_title',
            array(
                'map_in_td_composer' => true,
                "name" => 'Tag Page Title',
                "base" => "tdb_tag_title",
                'tdc_category' => 'Tag page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/tag/tdb_tag_title.php',
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H1 - Default' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name"  => "add_text",
                            "type"        => "textfield",
                            "value"       => 'Tag: ',
                            "heading"     => 'Additional text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => '',
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line width',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line height',
                            "description" => "",
                            "placeholder" => '2',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'line_space',
                            "value" => '',
                            "heading" => 'Line space',
                            "class" => 'tdc-textfield-small',
                            "description" => '',
                            "placeholder" => '50',
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '40',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-100',
                            'range_max' => '100',
                            'range_step' => '10',
                        ),
                        array(
                            "param_name" => "line_position",
                            "type" => "dropdown",
                            "value" => array(
                                'Below text' => '',
                                'Above text' => 'above',
                            ),
                            "heading" => 'Line position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Title color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "add_text_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Additional text color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "line_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Line color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title background',
                            "param_name"  => "style_bg",
                            "value"       => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "style_bg_space",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Title background space',
                            "description" => "",
                            "placeholder" => "5px 16px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    array(
                        array (
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    )
                )
            )

        );*/

        td_api_block::add('tdb_tag_description',
            array(
                'map_in_td_composer' => true,
                "name" => 'Tag Description',
                "base" => "tdb_tag_description",
                'tdc_category' => 'Tag page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/tag/tdb_tag_description.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_descr', true, 'Description text' ),
                    self::get_block_style()
                )
            )
        );

        /**
         * *************************************************************************************************************
         * Attachment Page Elements
         * *************************************************************************************************************
         */

        /*td_api_block::add('tdb_attachment_title',
            array(
                'map_in_td_composer' => true,
                "name" => 'Attachment Page Title',
                "base" => "tdb_attachment_title",
                'tdc_category' => 'Attachment page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/attachment/tdb_attachment_title.php',
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H1 - Default' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line width',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line height',
                            "description" => "",
                            "placeholder" => '2',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'line_space',
                            "value" => '',
                            "heading" => 'Line space',
                            "class" => 'tdc-textfield-small',
                            "description" => '',
                            "placeholder" => '50',
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '40',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-100',
                            'range_max' => '100',
                            'range_step' => '10',
                        ),
                        array(
                            "param_name" => "line_position",
                            "type" => "dropdown",
                            "value" => array(
                                'Below text' => '',
                                'Above text' => 'above',
                            ),
                            "heading" => 'Line position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Title color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "line_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Line color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    array(
                        array (
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        )
                    )
                )
            )

        );*/

        td_api_block::add('tdb_attachment_img',
            array(
                'map_in_td_composer' => true,
                "name" => 'Attachment Page Image',
                "base" => "tdb_attachment_img",
                'tdc_category' => 'Attachment page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/attachment/tdb_attachment_img.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_attachment_description',
            array(
                'map_in_td_composer' => true,
                "name" => 'Attachment Page Description',
                "base" => "tdb_attachment_description",
                'tdc_category' => 'Attachment page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/attachment/tdb_attachment_description.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Description text color',
                            "param_name"  => "descr_color",
                            "value"       => '',
                            "description" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_descr', true, 'Description text' ),
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_attachment_date',
            array(
                'map_in_td_composer' => true,
                "name" => 'Attachment Page Date',
                "base" => "tdb_attachment_date",
                'tdc_category' => 'Attachment page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/attachment/tdb_attachment_date.php',
                'tdc_style_params' => array(
                    'additional_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Time ago format',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "additional_text",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Additional text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "additional_text_before",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_date', true, 'Date text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_attachment_img_pagination',
            array(
                'map_in_td_composer' => true,
                "name" => 'Attachment Page Images Pagination',
                "base" => "tdb_attachment_img_pagination",
                'tdc_category' => 'Attachment page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/attachment/tdb_attachment_img_pagination.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name"  => "img_size",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Images size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '100',
                        ),
                        array(
                            "param_name"  => "img_space",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Images space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '0',
                        ),
                        array(
                            "param_name"  => "border_radius",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '0',
                        ),
                        array(
                            "param_name" => "img_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Default' => 'layout-default',
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Images horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "overlay",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Overlay color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "overlay_h",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Overlay hover color',
                            "value" => '',
                            "description" => '',
                        ),
                    ),
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_attachment_pag_prev',
            array(
                'map_in_td_composer' => true,
                "name" => 'Attachment Page Prev Pagination',
                "base" => "tdb_attachment_pag_prev",
                'tdc_category' => 'Attachment page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/attachment/tdb_attachment_pag_prev.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name"  => "img_size",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '100',
                        ),
                        array(
                            "param_name"  => "border_radius",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '0',
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "img_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Default' => 'layout-default',
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Image horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "overlay",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Overlay color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "overlay_h",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Overlay hover color',
                            "value" => '',
                            "description" => '',
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_attachment_pag_next',
            array(
                'map_in_td_composer' => true,
                "name" => 'Attachment Page Next Pagination',
                "base" => "tdb_attachment_pag_next",
                'tdc_category' => 'Attachment page',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/attachment/tdb_attachment_pag_next.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name"  => "img_size",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '100',
                        ),
                        array(
                            "param_name"  => "border_radius",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '0',
                        ),
                        array(
                            "param_name" => "make_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "img_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Default' => 'layout-default',
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Image horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "overlay",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Overlay color',
                            "value" => '',
                            "description" => '',
                        ),
                        array(
                            "param_name" => "overlay_h",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Overlay hover color',
                            "value" => '',
                            "description" => '',
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        /**
         * *************************************************************************************************************
         * Common Elements - for all wp template pages -
         * *************************************************************************************************************
         */

        td_api_block::add('tdb_title',
            array(
                'map_in_td_composer' => true,
                "name" => 'Page Title',
                "base" => "tdb_title",
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_title.php',
                'tdc_style_params' => array(
                    'add_text',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'H1 - Default' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'H4' => 'h4',
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name"  => "add_text",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Additional text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => '',
                        ),
                        array(
                            "param_name" => "add_text_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before title' => '',
                                'After title' => 'after',
                                'Above title' => 'above',
                            ),
                            "heading" => 'Additional text position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "add_text_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Additional text space',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "page_no",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show current page number',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "page_no_txt",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Page number text',
                            "description" => "",
                            "placeholder" => 'Page',
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "page_hide_first",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Hide first page number',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line width',
                            "description" => "",
                            "placeholder" => '0',
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_line_width.png"
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Line height',
                            "description" => "",
                            "placeholder" => '2',
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_line_height.png"
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'line_space',
                            "value" => '',
                            "heading" => 'Line space',
                            "class" => 'tdc-textfield-small',
                            "description" => '',
                            "placeholder" => '50',
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_line_space.png"
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '40',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-100',
                            'range_max' => '100',
                            'range_step' => '10',
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_alignment.png"
                        ),
                        array(
                            "param_name" => "line_position",
                            "type" => "dropdown",
                            "value" => array(
                                'Below text' => '',
                                'Above text' => 'above',
                            ),
                            "heading" => 'Line position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_line_position.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_horizontal_alignment.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "title_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Title color",
                            "value" => "",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_color.png"
                        ),
                        array(
                            "param_name" => "add_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Additional text color",
                            "value" => "",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "line_color",
                            "holder" => "div",
                            "type" => "gradient",
                            'heading' => "Line color",
                            "value" => "",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_line_color.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Title background',
                            "param_name"  => "style_bg",
                            "value"       => '',
                            "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_background_color.png"
                        ),
                        array(
                            "param_name" => "style_bg_space",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Title background space',
                            "description" => "",
                            "placeholder" => "5px 16px",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_background_space.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                        array(
                            "param_name" => "first_letter",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Big first letter',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_big_first_letter.png"
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'fl_align',
                            'value' => '0',
                            'heading' => 'V. alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-50',
                            'range_max' => '50',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_big_first_letter_alignment.png"
                        ),
                        array(
                            "param_name" => "fl_color",
                            "holder" => "div",
                            "type" => "colorpicker",
                            'heading' => "Letter color",
                            "value" => "",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/page_title_big_first_letter_color.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Title text' ),
                    td_config_helper::get_map_block_font_array( 'f_letter', false, 'Big first letter' ),
                    td_config_helper::get_map_block_font_array( 'f_add', false, 'Additional text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_loop',
            array(
                'map_in_td_composer' => true,
                "name" => 'Posts Loop',
                "base" => "tdb_loop",
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_loop.php',
                'tdc_style_params' => array(
                    'custom_title',
                    'custom_url',
                    'offset',
                    'ajax_pagination_infinite_stop',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'modules_on_row' => 'eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==',
                                "modules_gap" => 'eyJsYW5kc2NhcGUiOiI0MCIsInBvcnRyYWl0IjoiMjgifQ==',
                                'modules_category' => 'image',
                                'show_excerpt' => 'none',
                                'show_btn' => 'none',
                                "ajax_pagination" => "numbered",
                                "hide_audio" => "yes"
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat/Garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "394",
                                "f_ex_font_family" =>           "fs_4",
                                "f_btn_font_family" =>          "fs_4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title_font_family" =>        "721",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway/Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "507",
                                "f_ex_font_family" =>           "507",
                                "f_btn_font_family" =>          "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "653",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette/Open Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "147",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald/EB garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "445",
                                "f_ex_font_family" =>           "185",
                                "f_btn_font_family" =>          "185",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "406",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "646",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton/Roboto Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "41",
                                "f_ex_font_family" =>           "523",
                                "f_btn_font_family" =>          "523",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "502",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "331",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "663",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn/Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "639",
                                "f_ex_font_family" =>           "394",
                                "f_btn_font_family" =>          "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title_font_line_height" => "1.3",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title_font_line_height" => "1.4",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyMSIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxNyJ9",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyNiIsImxhbmRzY2FwZSI6IjI1IiwicG9ydHJhaXQiOiIyMSIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_ex_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),

                            array(
                                'tdc_preset_name' => 'Text alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Image format',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_image',
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - OFF
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image1',
                                'tdc_preset_individual' => '1',
                                "hide_image" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 2:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image2',
                                'tdc_preset_individual' => '1',
                                "image_height" => "150",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image3',
                                'tdc_preset_individual' => '1',
                                "image_height" => "133",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 7:8
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image4',
                                'tdc_preset_individual' => '1',
                                "image_height" => "114",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 1:1
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image5',
                                'tdc_preset_individual' => '1',
                                "image_height" => "100",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 5:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image6',
                                'tdc_preset_individual' => '1',
                                "image_height" => "80",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 4:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image7',
                                'tdc_preset_individual' => '1',
                                "image_height" => "75",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:2
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image8',
                                'tdc_preset_individual' => '1',
                                "image_height" => "67",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 16:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image9',
                                'tdc_preset_individual' => '1',
                                "image_height" => "56",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 18:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image10',
                                'tdc_preset_individual' => '1',
                                "image_height" => "50",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 21:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image11',
                                'tdc_preset_individual' => '1',
                                "image_height" => "40",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 30:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image12',
                                'tdc_preset_individual' => '1',
                                "image_height" => "30",
                                "hide_image" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Color library',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_color',
                            ),
                            array(
                                'tdc_preset_name' => '', // Color library
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color1',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f9c100',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color2',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff7500',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color3',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f44336',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color4',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff036e',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color5',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#58c7db',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color6',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#607d8b',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color7',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#005689',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color8',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#997df3',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color9',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#4caf50',
                            ),

                            array(
                                'tdc_preset_name' => 'Columns',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_col',
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 1
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col1',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "",
                                "modules_gap" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 2
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col2',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "eyJhbGwiOiIxLjYlIiwicG9ydHJhaXQiOiIyJSJ9",
                                "limit" => "2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 3
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col3',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1.4%",
                                "limit" => "3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 4
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col4',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyNSUiLCJwaG9uZSI6IjUwJSJ9",
                                "modules_gap" => "eyJhbGwiOiIxLjIlIiwicGhvbmUiOiIzJSJ9",
                                "limit" => "4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 5
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col5',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyMCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1%",
                                "limit" => "5",
                                "image_width" => "eyJwaG9uZSI6IjMwIn0=",
                                "image_floated" => "eyJwaG9uZSI6ImZsb2F0X2xlZnQifQ==",
                                "meta_padding" => "eyJwaG9uZSI6IjJweCAwIDAgMTZweCJ9",
                                "all_modules_space" => "eyJhbGwiOiIzNiIsInBob25lIjoiMjUifQ==",
                            ),

                            array(
                                'tdc_preset_name' => 'Layout style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_layout',
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout1',
                                'tdc_preset_individual' => '1',
                                "image_width" => "",
                                "image_floated" => "",
                                "meta_padding" => "",
                                "image_radius" => "",
                                "image_height" => "65",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal rounded
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout2',
                                'tdc_preset_individual' => '1',
                                "image_width" => "80",
                                "image_floated" => "",
                                "meta_padding" => "",
                                "image_radius" => "500",
                                "image_height" => "100",
                                "meta_info_horiz" => "content-horiz-center",
                                "modules_category" => "above",
                                "modules_category_margin" => "0 0 8px 0",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - float left
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout3',
                                'tdc_preset_individual' => '1',
                                "image_width" => "30",
                                "image_floated" => "float_left",
                                "meta_padding" => "1% 5%",
                                "image_radius" => "",
                                "image_height" => "65",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - float left rounded
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout4',
                                'tdc_preset_individual' => '1',
                                "image_width" => "30",
                                "image_floated" => "float_left",
                                "meta_padding" => "1% 5%",
                                "image_radius" => "500",
                                "image_height" => "100",
                                "meta_info_horiz" => "",
                                "modules_category" => "",
                                "modules_category_margin" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Show/Hide module elements',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_elements',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Category tag', // Category tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_author" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_author" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Author', // Author
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_date" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_date" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Date', // Date
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_review" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_review" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Review stars', // Review
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_com" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_com" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Comment tag', // Comment tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Excerpt', // Excerpt
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Button', // Button
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Header settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom title:',
                            "description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "info_img" => "https://cloud.tagdiv.com/help/custom_title.png",
                        ),
                        array(
                            "param_name" => "custom_url",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Title url:',
                            "description" => "Optional - a custom url when the block title is clicked",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mc1_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                            "info_img" => "https://cloud.tagdiv.com/help/title_length.png",
                        ),
                        array(
                            "param_name" => "mc1_title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'Paragraph' => 'p'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
                        ),
                        array(
                            "param_name"  => "mc1_el",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Excerpt length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
                        ),
                    ),
                    self::get_loop_map_filter_array(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "container_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Container width (0-100 percent)',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_container.png",
                        ),
                        array(
                            "param_name"  => "modules_on_row",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Modules per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '48',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name"  => "m_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
                        ),
                        array(
                            "param_name"  => "m_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "all_modules_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules bottom space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "34",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
                        ),
                        array(
                            "param_name"  => "modules_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "modules_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_divider",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Modules divider',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Modules divider color',
                            "param_name"  => "modules_divider_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "h_effect",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Shadow'  => 'shadow',
                                'Move up & shadow'  => 'up-shadow',
                            ),
                            "heading"     => 'Hover effect',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/post_bg_featured_img_align.png"
                        ),
                        array(
                            "param_name"  => "image_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "image_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (0-100 percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_floated",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Normal'      => 'no_float',
                                'Float left'  => 'float_left',
                                'Float right' => 'float_right',
                                'Hidden'      => 'hidden',
                            ),
                            "heading"     => 'Image position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
                        ),
                        array(
                            "param_name"  => "image_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name"  => "hide_image",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide image",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
                        ),
                                                array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Bookmark button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "show_favourites",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show',
                            "description" => "",
                            "holder" => "div",
                            "group"       => "Layout",
                        ),
                        array(
                            'param_name'  => 'fav_size',
                            'type'        => 'range-responsive',
                            'value'       => '2',
                            'heading'     => 'Icon size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '1',
                            'range_max'   => '4',
                            'range_step'  => '1',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "fav_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icon space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "10",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "fav_ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icon hover/added color',
                            "param_name"  => "fav_ico_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "fav_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Background hover/added color',
                            "param_name"  => "fav_bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('fav_shadow', 'Shadow', 4, 1, 1, 'Layout'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article video',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "video_icon",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "video_popup",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Enable video pop-up",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
                        ),
                        array(
                            "param_name" => "video_rec",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Video pop-up ad',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            'group' => 'Layout',
                        ),
                        array(
                            "param_name" => "video_rec_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
                            'group'      => 'Layout',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "video_rec_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "video_rec_disable",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "autoplay_vid",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Autoplay video",
                            "description" => "When it is inactive, the sound will be ON",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_vid_t",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show video duration',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
                        ),
                        array(
                            "param_name"  => "vid_t_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
                        ),
                        array(
                            "param_name"  => "vid_t_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Video pop-up article title color',
                            "param_name"  => "video_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Video pop-up article title hover color',
                            "param_name"  => "video_title_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "video_bg",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
                        ),
                        array(
                            "param_name" => "video_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up overlay color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name" => "vid_t_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration text color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
                        ),
                        array(
                            "param_name" => "vid_t_bg_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
                    td_config::get_map_exclusive_label_array(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article meta info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "meta_info_align",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Default' => '',
                                'Top'     => 'initial',
                                'Center'  => 'center',
                                'Bottom'  => 'flex-end',
                            ),
                            "heading"     => 'Meta info alignment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name"  => "meta_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "13px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name"  => "meta_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta container space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_container_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Meta info border',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "meta_info_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_border_width.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "meta_info_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "art_title",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 6px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_btn",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Over image'  => 'image',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_category_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "modules_cat_border",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
                        ),
                        array(
                            'param_name'  => 'modules_category_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
                        ),
                        array(
                            "param_name"  => "show_cat",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name"  => "modules_extra_cat",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Hide' => 'hide',
                            ),
                            "heading"     => 'Show custom label',
                            "description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Author',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_author",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "author_photo",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show author photo",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
                        ),
                        array(
                            "param_name"  => "author_photo_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
                        ),
                        array(
                            "param_name"  => "author_photo_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
                        ),
                        array(
                            "param_name"  => "author_photo_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Date / Comment',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_date",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "time_ago_txt_pos",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "show_com",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show comment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Review stars',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_review",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            "param_name"  => "review_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Review stars space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            'param_name'  => 'review_size',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "review_distance",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Distance between rating stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Excerpt',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_excerpt",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show excerpt',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
                        ),
                        array(
                            "param_name"  => "art_excerpt",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "excerpt_col",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '1',
                                '2' => '2',
                                '3' => '3',
                            ),
                            "heading"     => 'Article excerpt columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_article_excerpt_columns.png",
                        ),
                        array(
                            "param_name"  => "excerpt_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt columns gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "48",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "excerpt_middle",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Excerpt in middle",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "excerpt_inline",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Inline Excerpt & Title",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_inline_excerpt_title.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "show_audio",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Visible' => 'block',
                                'Hidden' => 'none',
                            ),
                            "heading"     => 'Show audio player',
                            "description" => "This will hide the audio player responsive",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name"  => "hide_audio",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Remove audio player",
                            "description" => "This will remove the audio player from code",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "art_audio",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Audio player space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
                        ),
                        array(
                            'param_name'  => 'art_audio_size',
                            'type'        => 'range-responsive',
                            'value'       => '1.5',
                            'heading'     => 'Audio player size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_btn",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show button',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
                        ),
                        array(
                            "param_name"  => "btn_title",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Button text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "Read more",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
                        ),
                        array(
                            "param_name"  => "btn_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 20px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
                        ),
                        array(
                            "param_name"  => "btn_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "10px 15px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
                        ),
                        array(
                            "param_name"  => "btn_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Button border radius',
                            "description" => "",
                            "placeholder" => "0",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "pag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Top space',
                            "description" => "",
                            "placeholder" => "54",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
                        ),
                        array(
                            "param_name"  => "pag_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
                        ),
                        array(
                            "param_name"  => "pag_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
                        ),
                        array(
                            "param_name"  => "pag_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            'param_name' => 'prev_tdicon',
                            'type' => 'icon',
                            'heading' => 'Prev icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            'param_name' => 'next_tdicon',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            "param_name"  => "pag_icons_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icons size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Block fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_pag', false, 'Pagination text', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Module background',
                            "param_name"  => "m_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "all_underline_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Underline size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Hover underline color',
                            "param_name"  => "all_underline_color",
                            "value"       => '#000',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "cat_style",
                            "type" => "dropdown",
                            "value" => array(
                                'Default' => '',
                                'Solid' => 'tdb-cat-style2',
                                'Rainbow' => 'tdb-cat-style3',
                            ),
                            "heading" => 'Style',
                            "description" => "The predefined style will get the category color you set in Theme Panel. It will apply also on the Module 2.",
                            "holder" => "div",
                            "group"       => 'Style',
                            "class" => "tdc-dropdown-big",
                            "toggle_enable_params" => "cat_style",
                            'toggle_enable_params_reverse' => true,
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category border color',
                            "param_name"  => "cat_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category border hover',
                            "param_name"  => "cat_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'AUTHOR / DATE / COMMENT / EXCERPT',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Excerpt text color',
                            "param_name"  => "ex_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment background',
                            "param_name"  => "com_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment text color',
                            "param_name"  => "com_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Review stars color',
                            "param_name"  => "rev_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Buttons color',
                            "param_name"  => "audio_btn_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Time text color',
                            "param_name"  => "audio_time_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars background color',
                            "param_name"  => "audio_bar_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars progress color',
                            "param_name"  => "audio_bar_curr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button background',
                            "param_name"  => "btn_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button background hover',
                            "param_name"  => "btn_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button text color',
                            "param_name"  => "btn_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button text hover',
                            "param_name"  => "btn_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button border color',
                            "param_name"  => "btn_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button border hover',
                            "param_name"  => "btn_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Next prev hover border color',
                            "param_name"  => "nextprev_border_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Text color',
                            "param_name"  => "pag_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "pag_h_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active text color',
                            "param_name"  => "pag_a_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Background color',
                            "param_name"  => "pag_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "pag_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active background color',
                            "param_name"  => "pag_a_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Border color',
                            "param_name"  => "pag_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "pag_h_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active border color',
                            "param_name"  => "pag_a_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Ads',
                            "value"      => "",
                            "class"      => "",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_loop",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            "loop_spot" => true,
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_loop_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-loop-spot-title",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_loop_repeat",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Repeat',
                            "description" => "After what number of modules the ad should repeat",
                            "placeholder" => "4",
                            "holder" => "div",
                            "class" => "tdc-textfield-small tdc-spot-controller tdc-loop-spot-paragraph",
                            'group' => 'Ads',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-spot-controller tdc-loop-spot-color",
                            "heading" => 'Ad title color',
                            "param_name" => "ad_loop_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Ads",
                        ),
                        array(
                            "param_name" => "ad_loop_full",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Full AD",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-spot-controller tdc-loop-spot-full",
                            "group" => "Ads",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Ads",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_ad', true, 'Ad title text', 'Ads' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Ads",
                        ),
                        array(
                            "param_name" => "ad_loop_disable",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Ads",
                        ),
                    ),
                    self::get_block_style()
                )
            )

        );

        td_api_block::add('tdb_loop_2',
            array(
                'map_in_td_composer' => true,
                "name" => 'Posts Loop 2',
                "base" => "tdb_loop_2",
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_loop_2.php',
                'tdc_style_params' => array(
                    'custom_title',
                    'custom_url',
                    'offset',
                    'ajax_pagination_infinite_stop',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "art_title_pos" => "bottom",
                                "info_pos" => "bottom",
                                "art_excerpt_pos" => "bottom",
                                "art_audio_pos" => "bottom",
                                "modules_category" => "image",
                                "btn_pos" => "bottom",
                                "hide_audio" => "yes"
                            ),

                            array(
                                'tdc_preset_name' => 'Font family',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_font',
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Montserrat/Garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "394",
                                "f_ex_font_family" =>           "fs_4",
                                "f_btn_font_family" =>          "fs_4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Source Serif/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font2',
                                'tdc_preset_individual' =>      '1',
                                "f_title_font_family" =>        "721",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Raleway/Raleway
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "507",
                                "f_ex_font_family" =>           "507",
                                "f_btn_font_family" =>          "507",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Work Sans/Work Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "653",
                                "f_ex_font_family" =>           "653",
                                "f_btn_font_family" =>          "653",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Courgette/Open Sans
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "147",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Oswald/EB garamond
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "445",
                                "f_ex_font_family" =>           "185",
                                "f_btn_font_family" =>          "185",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Muli/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "406",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Wendy One/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font9',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "646",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Anton/Roboto Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font10',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "41",
                                "f_ex_font_family" =>           "523",
                                "f_btn_font_family" =>          "523",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Quicksand/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "502",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Libre Baskerville/Muli
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font12',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "331",
                                "f_ex_font_family" =>           "406",
                                "f_btn_font_family" =>          "406",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Caveat/Josefin Slab
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font13',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "663",
                                "f_ex_font_family" =>           "297",
                                "f_btn_font_family" =>          "297",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Volkorn/Montserrat
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "639",
                                "f_ex_font_family" =>           "394",
                                "f_btn_font_family" =>          "394",
                            ),
                            array(
                                'tdc_preset_name' => '', // Font - Default
                                'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_family" =>        "",
                                "f_ex_font_family" =>           "",
                                "f_btn_font_family" =>          "",
                            ),

                            array(
                                'tdc_preset_name' => 'Font size',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_size',
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XS 13/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size1',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIiLCJwaG9uZSI6IjE0In0=",
                                "f_title_font_line_height" => "1.3",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - S 14/13/12/14
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size2',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9",
                                "f_title_font_line_height" => "1.4",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - M 21/21/17/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size3',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyMSIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxNyJ9",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "=",
                                "f_ex_font_line_height" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - L 26/25/21/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size4',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIyNiIsImxhbmRzY2FwZSI6IjI1IiwicG9ydHJhaXQiOiIyMSIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",

                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XL 30/28/24/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size5',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzMCIsImxhbmRzY2FwZSI6IjI4IiwicG9ydHJhaXQiOiIyNCIsInBob25lIjoiMjEifQ==",
                                "f_title_font_line_height" => "1.2",
                                "f_ex_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),
                            array(
                                'tdc_preset_name' => '', // Size - XXL 36/32/26/21
                                'tdc_preset_class' => 'tdcp_img tdcp_size tdcp_size6',
                                'tdc_preset_individual' => '1',
                                "f_title_font_size" => "eyJhbGwiOiIzNiIsImxhbmRzY2FwZSI6IjMyIiwicGhvbmUiOiIyMSIsInBvcnRyYWl0IjoiMjYifQ==",
                                "f_title_font_line_height" => "eyJhbGwiOiIxLjEiLCJwaG9uZSI6IjEuMiJ9",
                                "f_ex_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjEzIn0=",
                                "f_ex_font_line_height" => "1.5",
                            ),

                            array(
                                'tdc_preset_name' => 'Text alignment',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_align',
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - left
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align1',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-left",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - center
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align2',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-center",
                            ),
                            array(
                                'tdc_preset_name' => '', // Text alignment - right
                                'tdc_preset_class' => 'tdcp_img tdcp_align tdcp_align3',
                                'tdc_preset_individual' => '1',
                                "meta_info_horiz" => "content-horiz-right",
                            ),

                            array(
                                'tdc_preset_name' => 'Image format',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_image',
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - OFF
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image1',
                                'tdc_preset_individual' => '1',
                                "hide_image" => "yes",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 2:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image2',
                                'tdc_preset_individual' => '1',
                                "image_height" => "150",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image3',
                                'tdc_preset_individual' => '1',
                                "image_height" => "133",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 7:8
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image4',
                                'tdc_preset_individual' => '1',
                                "image_height" => "114",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 1:1
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image5',
                                'tdc_preset_individual' => '1',
                                "image_height" => "100",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 5:4
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image6',
                                'tdc_preset_individual' => '1',
                                "image_height" => "80",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 4:3
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image7',
                                'tdc_preset_individual' => '1',
                                "image_height" => "75",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 3:2
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image8',
                                'tdc_preset_individual' => '1',
                                "image_height" => "67",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 16:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image9',
                                'tdc_preset_individual' => '1',
                                "image_height" => "56",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 18:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image10',
                                'tdc_preset_individual' => '1',
                                "image_height" => "50",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 21:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image11',
                                'tdc_preset_individual' => '1',
                                "image_height" => "40",
                                "hide_image" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Image format - 30:9
                                'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image12',
                                'tdc_preset_individual' => '1',
                                "image_height" => "30",
                                "hide_image" => "",
                            ),

                            array(
                                'tdc_preset_name' => 'Color library',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_color',
                            ),
                            array(
                                'tdc_preset_name' => '', // Color library
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color1',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f9c100',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color2',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff7500',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color3',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#f44336',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color4',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#ff036e',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color5',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#58c7db',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color6',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#607d8b',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color7',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#005689',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color8',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#997df3',
                            ),
                            array(
                                'tdc_preset_name' => '',
                                'tdc_preset_class' => 'tdcp_img tdcp_color tdcp_color9',
                                'tdc_preset_individual' => '1',
                                'accent_text_color' => '#4caf50',
                            ),

                            array(
                                'tdc_preset_name' => 'Columns',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_col',
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 1
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col1',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "",
                                "modules_gap" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 2
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col2',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "eyJhbGwiOiIxLjYlIiwicG9ydHJhaXQiOiIyJSJ9",
                                "limit" => "2",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 3
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col3',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1.4%",
                                "limit" => "3",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 4
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col4',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyNSUiLCJwaG9uZSI6IjUwJSJ9",
                                "modules_gap" => "eyJhbGwiOiIxLjIlIiwicGhvbmUiOiIzJSJ9",
                                "limit" => "4",
                            ),
                            array(
                                'tdc_preset_name' => '', // Columns - 5
                                'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col5',
                                'tdc_preset_individual' => '1',
                                "modules_on_row" => "eyJhbGwiOiIyMCUiLCJwaG9uZSI6IjEwMCUifQ==",
                                "modules_gap" => "1%",
                                "limit" => "5",
                                "image_width" => "eyJwaG9uZSI6IjMwIn0=",
                                "image_floated" => "eyJwaG9uZSI6ImZsb2F0X2xlZnQifQ==",
                                "meta_padding" => "eyJwaG9uZSI6IjJweCAwIDAgMTZweCJ9",
                                "all_modules_space" => "eyJhbGwiOiIzNiIsInBob25lIjoiMjUifQ==",
                            ),

                            array(
                                'tdc_preset_name' => 'Layout style',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_layout',
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout1',
                                'tdc_preset_individual' => '1',
                                "all_modules_space" => "",
                                "image_width" => "",
                                "image_floated" => "",
                                "meta_padding" => "",
                                "meta_padding2" => "",
                                "image_radius" => "",
                                "image_height" => "50",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                                "art_title_pos" => "bottom",
                                "info_pos" => "bottom",
                                "art_excerpt_pos" => "bottom",
                                "art_excerpt" => "",
                                "btn_pos" => "bottom"
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout5',
                                'tdc_preset_individual' => '1',
                                "all_modules_space" => "48",
                                "image_width" => "",
                                "image_floated" => "",
                                "image_radius" => "",
                                "image_height" => "50",
                                "meta_padding" => "0 0 20px",
                                "meta_padding2" => "20px 0 0",
                                "meta_info_horiz" => "content-horiz-center",
                                "modules_category" => "above",
                                "modules_category_margin" => "0 0 9px",
                                "art_title_pos" => "top",
                                "info_pos" => "top",
                                "art_excerpt_pos" => "bottom",
                                "art_excerpt" => "0",
                                "btn_pos" => "bottom"
                            ),
                            array(
                                'tdc_preset_name' => '', // Layout style - normal
                                'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout6',
                                'tdc_preset_individual' => '1',
                                "all_modules_space" => "",
                                "image_width" => "",
                                "image_floated" => "",
                                "meta_padding" => "0 0 11px",
                                "meta_padding2" => "",
                                "image_radius" => "",
                                "image_height" => "50",
                                "meta_info_horiz" => "",
                                "modules_category" => "image",
                                "modules_category_margin" => "",
                                "art_title_pos" => "top",
                                "info_pos" => "bottom",
                                "art_excerpt_pos" => "bottom",
                                "art_excerpt" => "",
                                "btn_pos" => "bottom"
                            ),

                            array(
                                'tdc_preset_name' => 'Show/Hide module elements',
                                'tdc_preset_class' => 'tdcp_separator tdcp_separator_elements',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_cat" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Category tag', // Category tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_author" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_author" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Author', // Author
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_date" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_date" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Date', // Date
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_review" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_review" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Review stars', // Review
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_com" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
                                'tdc_preset_individual' => '1',
                                "show_com" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Comment tag', // Comment tag
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_excerpt" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Excerpt', // Excerpt
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                            array(
                                'tdc_preset_name' => '', // Show
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "",
                            ),
                            array(
                                'tdc_preset_name' => '', // Hide
                                'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
                                'tdc_preset_individual' => '1',
                                "show_btn" => "none",
                            ),
                            array(
                                'tdc_preset_name' => 'Button', // Button
                                'tdc_preset_class' => 'tdcp_elements_text',
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Header settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom title:',
                            "description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "info_img" => "https://cloud.tagdiv.com/help/custom_title.png",
                        ),
                        array(
                            "param_name" => "custom_url",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Title url:',
                            "description" => "Optional - a custom url when the block title is clicked",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "block_template_id",
                            "type" => "dropdown",
                            "value" => td_util::get_block_template_ids(),
                            "heading" => 'Header template:',
                            "description" => "Header template used by the current block",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
                        ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Content length',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module Category',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name"  => "mc1_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                            "info_img" => "https://cloud.tagdiv.com/help/title_length.png",
                        ),
                        array(
                            "param_name" => "mc1_title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'Paragraph' => 'p'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
                        ),
                        array(
                            "param_name"  => "mc1_el",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Excerpt length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
                        ),
                    ),
                    self::get_loop_map_filter_array(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_on_row",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Modules per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name"  => "m_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
                        ),
                        array(
                            "param_name"  => "all_modules_space",
                            "type"        => "textfield-responsive",
                            "value"       => '36',
                            "heading"     => 'Modules bottom space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "36",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
                        ),
                        array(
                            "param_name"  => "modules_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "modules_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "modules_divider",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Modules divider',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Modules divider color',
                            "param_name"  => "modules_divider_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
                        ),
                        array(
                            "param_name"  => "h_effect",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Shadow'  => 'shadow',
                                'Move up & shadow'  => 'up-shadow',
                            ),
                            "heading"     => 'Hover effect',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "image_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name"  => "image_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_margin.png",
                        ),
                        array(
                            "param_name"  => "hide_image",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide image",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
                        ),
                                                array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Bookmark button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "show_favourites",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show',
                            "description" => "",
                            "holder" => "div",
                            "group"       => "Layout",
                        ),
                        array(
                            'param_name'  => 'fav_size',
                            'type'        => 'range-responsive',
                            'value'       => '2',
                            'heading'     => 'Icon size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '1',
                            'range_max'   => '4',
                            'range_step'  => '1',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "fav_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icon space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "10",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "fav_ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icon hover/added color',
                            "param_name"  => "fav_ico_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "fav_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Background hover/added color',
                            "param_name"  => "fav_bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('fav_shadow', 'Shadow', 4, 1, 1, 'Layout'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article video',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name"  => "video_icon",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "video_popup",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Enable video pop-up",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
                        ),
                        array(
                            "param_name" => "video_rec",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Video pop-up ad',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            'group' => 'Layout',
                        ),
                        array(
                            "param_name" => "video_rec_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
                            'group'      => 'Layout',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "video_rec_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "video_rec_disable",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name"  => "autoplay_vid",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Autoplay video",
                            "description" => "When it is inactive, the sound will be ON",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_vid_t",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show video duration',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
                        ),
                        array(
                            "param_name"  => "vid_t_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
                        ),
                        array(
                            "param_name"  => "vid_t_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Layout",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Video pop-up article title color',
                            "param_name"  => "video_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Video pop-up article title hover color',
                            "param_name"  => "video_title_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "video_bg",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
                        ),
                        array(
                            "param_name" => "video_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up overlay color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            "param_name" => "vid_t_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration text color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
                        ),
                        array(
                            "param_name" => "vid_t_bg_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
                    td_config::get_map_exclusive_label_array(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article meta info',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Layout",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name"  => "meta_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Top info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
                        ),
                        array(
                            "param_name"  => "meta_padding2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Bottom info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "13px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_bottom_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Meta info border',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "meta_info_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Top info border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_top_border.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_size2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Bottom info border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_bottom_border.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "meta_info_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Top info border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "meta_info_border_radius2",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Bottom info border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "art_title_pos",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Above image' => 'top',
                                'Under image' => 'bottom',
                            ),
                            "heading"     => 'Article title position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_title_position.png",
                        ),
                        array(
                            "param_name"  => "info_pos",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Above image' => 'top',
                                'Under image' => 'bottom',
                                'Above title' => 'title',
                            ),
                            "heading"     => 'Info position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_info_position.png",
                        ),
                        array(
                            "param_name"  => "info_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Info space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_info_space.png",
                        ),
                        array(
                            "param_name"  => "art_title",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 6px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article excerpt',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_excerpt",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show excerpt',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
                        ),
                        array(
                            "param_name"  => "art_excerpt_pos",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Above image' => 'top',
                                'Under image' => 'bottom',
                            ),
                            "heading"     => 'Article excerpt position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_excerpt_position.png",
                        ),
                        array(
                            "param_name"  => "art_excerpt",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_audio",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Visible' => 'block',
                                'Hidden' => 'none',
                            ),
                            "heading"     => 'Show audio player',
                            "description" => "This will hide the audio player responsive",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name"  => "hide_audio",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Remove audio player",
                            "description" => "This will remove the audio player from code",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name"  => "art_audio_pos",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Above image' => 'top',
                                'Under image' => 'bottom',
                            ),
                            "heading"     => 'Audio player position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_position.png",
                        ),
                        array(
                            "param_name"  => "art_audio",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Audio player space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
                        ),
                        array(
                            'param_name'  => 'art_audio_size',
                            'type'        => 'range-responsive',
                            'value'       => '1.5',
                            'heading'     => 'Audio player size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_cat",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Over image'  => 'image',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_extra_cat",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Hide' => 'hide',
                            ),
                            "heading"     => 'Show custom label',
                            "description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_category_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name"  => "modules_category_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "modules_category_border",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag border',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
                        ),
                        array(
                            'param_name'  => 'modules_category_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Author',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_author",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "author_photo",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show author photo",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
                        ),
                        array(
                            "param_name"  => "author_photo_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
                        ),
                        array(
                            "param_name"  => "author_photo_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
                        ),
                        array(
                            "param_name"  => "author_photo_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50%",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Date / Comment',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_date",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Layout",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "time_ago_txt_pos",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "show_com",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show comment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Review stars',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_review",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            "param_name"  => "review_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Review stars space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            'param_name'  => 'review_size',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "review_distance",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Distance between rating stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name"  => "show_btn",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show button',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
                        ),
                        array(
                            "param_name"  => "btn_pos",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Above image' => 'top',
                                'Under image' => 'bottom',
                            ),
                            "heading"     => 'Button position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_position.png",
                        ),
                        array(
                            "param_name"  => "btn_title",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Button text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "Read more",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
                        ),
                        array(
                            "param_name"  => "btn_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 20px 0px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
                        ),
                        array(
                            "param_name"  => "btn_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "10px 15px",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
                        ),
                        array(
                            "param_name"  => "btn_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
                        ),
                        array(
                            "param_name"  => "btn_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "",
                            "group"       => 'Layout'
                        ),
                        array(
                            "param_name" => "pag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Top space',
                            "description" => "",
                            "placeholder" => "54",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
                        ),
                        array(
                            "param_name"  => "pag_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
                        ),
                        array(
                            "param_name"  => "pag_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
                        ),
                        array(
                            "param_name"  => "pag_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Layout',
                        ),
                        array(
                            'param_name' => 'prev_tdicon',
                            'type' => 'icon',
                            'heading' => 'Prev icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            'param_name' => 'next_tdicon',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Layout',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            "param_name"  => "pag_icons_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icons size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "group"       => "Layout",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Block fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_pag', false, 'Pagination text', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Module fonts',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Module',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Module background',
                            "param_name"  => "m_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Top meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bottom meta info background',
                            "param_name"  => "meta_bg2",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "all_underline_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Underline size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Hover underline color',
                            "param_name"  => "all_underline_color",
                            "value"       => '#000',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "cat_style",
                            "type" => "dropdown",
                            "value" => array(
                                'Default' => '',
                                'Solid' => 'tdb-cat-style2',
                                'Rainbow' => 'tdb-cat-style3',
                            ),
                            "heading" => 'Style',
                            "description" => "The predefined style will get the category color you set in Theme Panel. It will apply also on the Module 2.",
                            "holder" => "div",
                            "group"       => 'Style',
                            "class" => "tdc-dropdown-big",
                            "toggle_enable_params" => "cat_style",
                            'toggle_enable_params_reverse' => true,
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category border color',
                            "param_name"  => "cat_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category border hover',
                            "param_name"  => "cat_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "toggle_enabled_by" => "cat_style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'AUTHOR / DATE / COMMENT / EXCERPT',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Excerpt text color',
                            "param_name"  => "ex_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment background',
                            "param_name"  => "com_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment text color',
                            "param_name"  => "com_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Review stars color',
                            "param_name"  => "rev_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Buttons color',
                            "param_name"  => "audio_btn_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Time text color',
                            "param_name"  => "audio_time_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars background color',
                            "param_name"  => "audio_bar_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars progress color',
                            "param_name"  => "audio_bar_curr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button background',
                            "param_name"  => "btn_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button background hover',
                            "param_name"  => "btn_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button text color',
                            "param_name"  => "btn_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button text hover',
                            "param_name"  => "btn_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button border color',
                            "param_name"  => "btn_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button border hover',
                            "param_name"  => "btn_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Text color',
                            "param_name"  => "pag_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "pag_h_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active text color',
                            "param_name"  => "pag_a_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Background color',
                            "param_name"  => "pag_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "pag_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active background color',
                            "param_name"  => "pag_a_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Border color',
                            "param_name"  => "pag_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "pag_h_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active border color',
                            "param_name"  => "pag_a_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Ads',
                            "value"      => "",
                            "class"      => "",
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_loop",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Your ad code',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            'group'      => 'Ads',
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            "loop_spot" => true,
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_loop_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-loop-spot-title",
                            'group' => 'Ads',
                        ),
                        array(
                            "param_name" => "ad_loop_repeat",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Repeat',
                            "description" => "After what number of modules the ad should repeat",
                            "placeholder" => "2",
                            "holder" => "div",
                            "class" => "tdc-textfield-small tdc-spot-controller tdc-loop-spot-paragraph",
                            'group' => 'Ads',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-spot-controller tdc-loop-spot-color",
                            "heading" => 'Ad title color',
                            "param_name" => "ad_loop_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Ads",
                        ),
                        array(
                            "param_name" => "ad_loop_full",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Full AD",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-spot-controller tdc-loop-spot-full",
                            "group" => "Ads",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Ads",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_ad', true, 'Ad title text', 'Ads' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Ads",
                        ),
                        array(
                            "param_name" => "ad_loop_disable",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Ads",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_breadcrumbs',
            array(
                'map_in_td_composer' => true,
                "name" => 'Breadcrumbs',
                "base" => "tdb_breadcrumbs",
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_breadcrumbs.php',
                'tdc_style_params' => array(
                    'tdicon',
                    'home_custom_title',
                    'home_custom_link',
                    'home_custom_title_att',
                    'parent_cat_custom_title',
                    'parent_cat_custom_link',
                    'parent_cat_custom_title_att',
                    'child_cat_custom_title',
                    'child_cat_custom_link',
                    'child_cat_custom_title_att',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'tdicon' => 'td-icon-right',
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General Settings',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => ""
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Change separator icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_change_separator_icon.png"
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Separator icon size',
                            "description" => "",
                            "placeholder" => "8",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_separator_icon_size.png"
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Separator icon space',
                            "description" => "",
                            "placeholder" => "5",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_separator_icon_space.png"
                        ),

                        // home
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Home',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "show_home",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show home link',
                            "description" => "Show or hide the home link in breadcrumbs",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_show_home_link.png"
                        ),
                        array(
                            "param_name" => "home_custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom text',
                            "description" => "Optional - a title for the home breadcrumb, if you leave it blank 'Home' will be used",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            "param_name" => "home_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Custom link',
                            "description" => "Optional - set a custom link for the home breadcrumb, if you leave it blank your site's homepage like will be used",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                        ),
                        array(
                            "param_name" => "home_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'HTML title attribute',
                            "description" => "Optional - a title attribute for the home breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                        ),
                         // cpt tax
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Taxonomies',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-post tdb-settings-cpt",
                        ),
                        array(
                            "param_name" => "installed_taxonomies",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Taxonomies:',
                            "description" => "This will display the post terms for each taxonomy. For multiple taxonomies, add comma between slug names (tax1, tax2)",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdb-show-settings tdb-settings-post tdb-settings-cpt",
                        ),
                        array(
                            "param_name" => "show_parent_page",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show parent page link',
                            "description" => "Show or hide the parent page link in breadcrumbs",
                            "holder" => "div",
                            "class" => "tdb-show-settings tdb-settings-page",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_show_home_link.png"
                        ),

                        // posts
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Parent category',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "show_parent_cat",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => 'Show',
                            "description" => "Show or hide the parent category ex: Home > parent category > category > article title",
                            "holder" => "div",
                            "class" => "tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "parent_cat_custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom text',
                            "description" => "Optional - a title for the parent category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "parent_cat_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Custom link',
                            "description" => "Optional - set a custom link for the parent category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "parent_cat_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'HTML title attribute',
                            "description" => "Optional - a title attribute for the parent category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Child category',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "child_cat_custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom text',
                            "description" => "Optional - a title for the child category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "child_cat_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Custom link',
                            "description" => "Optional - set a custom link for the child category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-post",
                        ),
                        array(
                            "param_name" => "child_cat_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'HTML title attribute',
                            "description" => "Optional - a title attribute for the child category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-post",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Parent articles',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-post tdb-settings-cpt",
                        ),
                        array(
                            "param_name" => "show_parent_posts",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => 'Show parent articles',
                            "description" => "Show or hide the parent articles",
                            "holder" => "div",
                            "class" => "tdb-show-settings tdb-settings-post tdb-settings-cpt",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-post tdb-settings-cpt",
                        ),
                        array(
                            "param_name" => "show_article",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => 'Show article title',
                            "description" => "Show or hide the article title on post pages",
                            "holder" => "div",
                            "class" => "tdb-show-settings tdb-settings-post tdb-settings-cpt",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_show_title.png"
                        ),
                        array(
                            "param_name" => "title_excerpt",
                            "type" => "textfield",
                            "value" => '13',
                            "heading" => 'Article title excerpt length',
                            "description" => "Set the article title excerpt length",
                            "placeholder" => '13',
                            "holder" => "div",
                            "class" => "tdc-textfield-small tdb-show-settings tdb-settings-post tdb-settings-cpt",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_title_length.png"
                        ),

                        // categories
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Parent category',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "show_parent",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => 'Show',
                            "description" => "Show or hide the parent category link ex: Home > parent category > category",
                            "holder" => "div",
                            "class" => "tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "parent_category_custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom text',
                            "description" => "Optional - a title for the parent category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "parent_category_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Custom link',
                            "description" => "Optional - set a custom link for the parent category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "parent_category_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'HTML title attribute',
                            "description" => "Optional - a title attribute for the parent category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Child category',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "child_category_custom_title",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'Custom text',
                            "description" => "Optional - a title for the child category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "child_category_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Custom link',
                            "description" => "Optional - set a custom link for the child category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-category",
                        ),
                        array(
                            "param_name" => "child_category_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => 'HTML title attribute',
                            "description" => "Optional - a title attribute for the child category breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-category",
                        ),

                        // authors
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Authors',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-author",
                        ),
                        array(
                            "param_name" => "author_custom_title",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom text",
                            "description" => "Optional - set a custom link for the 'Authors' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-author",
                        ),
                        array(
                            "param_name" => "author_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom link",
                            "description" => "Optional - set a custom link for the 'Authors' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-author",
                        ),
                        array(
                            "param_name" => "author_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => "HTML title attribute",
                            "description" => "Optional - a title attribute for the 'Authors' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-author",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Posts by',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-author",
                        ),
                        array(
                            "param_name" => "by_author_custom_title",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom text",
                            "description" => "Optional - set a custom link for the 'Authors' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-author",
                        ),
                        array(
                            "param_name" => "by_author_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom link",
                            "description" => "Optional - set a custom link for the 'Authors' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-author",
                        ),
                        array(
                            "param_name" => "by_author_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => "HTML Title attribute",
                            "description" => "Optional - a title attribute for the 'Authors' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-author",
                        ),

                        // search
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Search',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-search",
                        ),
                        array(
                            "param_name" => "search_custom_title",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom text",
                            "description" => "Optional - set a custom link for the 'Search' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-search",
                        ),
                        array(
                            "param_name" => "search_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom link",
                            "description" => "Optional - set a custom link for the 'Search' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-search",
                        ),
                        array(
                            "param_name" => "search_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => "HTML title attribute",
                            "description" => "Optional - a title attribute for the 'Search' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-search",
                        ),


                        // tag
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small tdb-show-settings tdb-settings-tag",
                        ),
                        array(
                            "param_name" => "tag_custom_title",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom text",
                            "description" => "Optional - set a custom link for the 'Tags' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-tag",
                        ),
                        array(
                            "param_name" => "tag_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom link",
                            "description" => "Optional - set a custom link for the 'Tags' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-tag",
                        ),
                        array(
                            "param_name" => "tag_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => "HTML title attribute",
                            "description" => "Optional - a title attribute for the 'Tags' breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-tag",
                        ),

                        // attachment
                        array(
                            "param_name" => "separator",
                        "type"       => "text_separator",
                        'heading'    => 'Attachment',
                        "value"      => "",
                        "class"      => "tdc-separator-small tdb-show-settings tdb-settings-attachment",
                        ),
                        array(
                            "param_name" => "show_parent_post",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => 'Show Parent Post',
                            "description" => "Show or hide the parent post.",
                            "holder" => "div",
                            "class" => "tdb-show-settings tdb-settings-attachment",
                        ),
                        array(
                            "param_name" => "attachment_custom_title",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom text",
                            "description" => "Optional - set a custom link for the attachment title breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-attachment",
                        ),
                        array(
                            "param_name" => "attachment_custom_link",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom link",
                            "description" => "Optional - set a custom link for the attachment breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-attachment",
                        ),
                        array(
                            "param_name" => "attachment_custom_title_att",
                            "type" => "textfield",
                            "value" => "",
                            "heading" => "HTML title attribute",
                            "description" => "Optional - a title attribute for the attachment breadcrumb",
                            "holder" => "div",
                            "class" => "tdc-textfield-big tdb-show-settings tdb-settings-attachment",
                        ),

                        // style
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Breadcrumbs text color',
                            "param_name"  => "text_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_title_color.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Breadcrumbs links hover color',
                            "param_name"  => "link_h_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Separator icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/breadcrumbs_separator_color.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "",
                        )
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'Breadcrumbs text' ),
                    self::get_block_style()
                )
            )
        );
        $tax_type = get_post_taxonomies();

        td_api_block::add('tdb_posts_list',
            array(
                'map_in_td_composer' => true,
                "name" => 'Posts List',
                "base" => "tdb_posts_list",
                'tdc_category' => 'Extended',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_posts_list.php',
                'tdc_style_params' => array(
                    'post_type',
                    'linked_post_type',
                    'all_posts',
                    'allow_update',
                    'allow_delete',
                    'form_1',
                    'form_1_txt_a',
                    'form_1_txt_e',
                    'form_2',
                    'form_2_txt_e',
                    'form_3',
                    'form_3_txt_e',
                    'form_4',
                    'form_4_txt_e',
                    'form_5',
                    'form_5_txt_e',
                    'form_6',
                    'form_6_txt_e',
                    'limit_def',
                    'show_version',
                    'tdicon_full',
                    'tdicon_half',
                    'tdicon_empty',
                    'show_notif',
                    'limit_notif',
                    'show_notif',
                    'enable_pag',
                    'per_page',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "display_columns" => "dGl0bGUlMEFkYXRl",
                                'limit_notif' => base64_encode( '<div class="tdb-s-notif tdb-s-notif-info"><div class="tdb-s-notif-descr">You have reached your limit of posting new articles.</div></div>' ),
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "post_type",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Post type",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "post"
                        ),
                        array(
                            "param_name" => "linked_post_type",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Linked posts type",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_posts",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show all posts for admins",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "allow_publish",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Allow users to publish pending posts",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "allow_delete",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Allow users to delete their posts",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "credits_posts_filter",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show only posts bought with credits",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'display_columns',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Columns to display (one column per line)',
                            'description' => '<div style="margin-bottom:8px">Predefined columns: id, title, date, author, featured_image, categories, tags, ctax_{taxonomy}, overall_rating, source_title, credits_cost, custom_field_name.</div><div>You can specify a custom column label, by adding it between "[" and "]" ad the end of the column name (ex: <strong>title[Hello World]</strong>).</div>',
                            'class' => 'tdc-textarea-small',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Main form',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "form_1",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Form URL",
                            "description" => "URL of the page containing the form used to publish/edit articles.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "form_1_txt_a",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Add button text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "Add new post"
                        ),
                        array(
                            "param_name" => "form_1_txt_e",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Edit link text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "Edit post"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Post childs forms',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "form_5",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Child level 1 form URL",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "form_5_txt_e",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Child form edit text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "form_6",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Child level 2 form URL",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "form_6_txt_e",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Child 2 form edit text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Extra forms',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "form_2",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Extra form 1 URL",
                            "description" => "URL of the page containing the form used to edit a certain part of an article.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "form_2_txt_e",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Extra form 1 edit text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "Edit post 2"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "form_3",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Extra form 2 URL",
                            "description" => "URL of the page containing the form used to edit a certain part of an article.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => ""
                        ),
                        array(
                            "param_name" => "form_3_txt_e",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Extra form 2 edit text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "Edit post 3"
                        ),
                    ),

                    self::get_new_posts_limit_atts(),

                    array(
                        array(
                            "param_name" => "show_version",
                            "type" => "dropdown",
                            "value" => array(
                                'Posts list' => '',
                                'No posts' => 'no_posts',
                            ),
                            "heading" => 'Show in composer',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Links hover color',
                            "param_name" => "a_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', 'Style', '', 'tdc-s-global-font' ),

					array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Inputs',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Placeholder color',
                            "param_name" => "input_place_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "5",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Tables',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Borders color',
                            "param_name" => "tabl_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Head text color',
                            "param_name" => "tabl_head_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Body text color',
                            "param_name" => "tabl_body_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => "Hover row background",
                            "param_name" => "tabl_hover_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Ratings',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
					    array(
						    'param_name' => 'tdicon_full',
						    'type' => 'icon',
						    'heading' => 'Full star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
						    'group' => 'Style',
					    ),
					    array(
						    'param_name' => 'tdicon_half',
						    'type' => 'icon',
						    'heading' => 'Half star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
						    'group' => 'Style',
					    ),
					    array(
						    'param_name' => 'tdicon_empty',
						    'type' => 'icon',
						    'heading' => 'Empty star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
						    'group' => 'Style',
					    ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Full/half stars color',
                            "param_name"  => "full_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Empty stars color',
                            "param_name"  => "empty_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Images',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "img_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "60",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "img_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Options list',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => "Background color",
                            "param_name" => "opt_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "opt_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('opt_shadow', 'Shadow', 4, 0, 0, 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => "Items borders color",
                            "param_name" => "opt_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => "Items text color",
                            "param_name" => "opt_item_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => "Items text hover color",
                            "param_name" => "opt_item_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => "Delete text color",
                            "param_name" => "opt_del_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => "Delete text hover color",
                            "param_name" => "opt_del_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Pagination',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "enable_pag",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Enable pagination",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "per_page",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Per page",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "15",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => "Pagination background color",
                            "param_name" => "pag_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => "Pagination background hover color",
                            "param_name" => "pag_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-a",
                            "heading" => "Pagination text color",
                            "param_name" => "pag_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-b",
                            "heading" => "Pagination text hover color",
                            "param_name" => "pag_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-c",
                            "heading" => "Pagination text active color",
                            "param_name" => "pag_color_a",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Modals',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "modal_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "600",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "modal_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "modal_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Background overlay',
                            "param_name"  => "modal_overlay",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Separators color',
                            "param_name" => "modal_sep",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('modal_shadow', 'Shadow', 4, 0, 2, 'Style'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Header',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Title text color',
                            "param_name" => "modal_title",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Close icon color',
                            "param_name" => "modal_close",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Body',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "modal_body",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Buttons',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "Style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "show_notif",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show in composer",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Information accent color',
                            "param_name" => "notif_info_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Success accent color',
                            "param_name" => "notif_succ_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_gallery',
            array(
                'map_in_td_composer' => true,
                "name" => 'Gallery',
                "base" => "tdb_gallery",
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_gallery.php',
                'used_on_tdb_template' => array('cpt', 'single', 'category', 'cpt_tax', 'tag', 'author', 'attachment', 'page'),
                'tdc_style_params' => array(
                    'source',
                    'acf_field',
                    'nav_for',
                    'autoplay',
                    'autoplay_speed',
                    'images_size',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "infinite" => "yes",
                                "enable_swipe" => "yes",
                                "enable_arrows" => "yes",
                                "dots_pos" => "outside",
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "source",
                            "type" => "dropdown",
                            "value" => array(
                                '-- Select --' => '',
                                'Post/CPT gallery' => 'post_gallery',
                                'ACF field (PRO only)' => 'acf_field',
                            ),
                            "heading" => 'Gallery source',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big tdc-gallery-source",
                            "group" => "",
                            "options_to_disable" => ( tdb_state_template::get_template_type() == 'single' || tdb_state_template::get_template_type() == 'cpt' || tdb_state_template::get_template_type() == 'module' ? '' : 'post_gallery' ) . ( !class_exists('ACF') ? ' acf_field' : '' )
                        ),
                        self::get_acf_fields_param( array(), array('gallery') ),
                        array(
                            "param_name" => "nav_for",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "As nav for",
                            "description" => "Set this gallery to be the navigation of another gallery (specify class name of the other slider).",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "infinite",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Infinite",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "",
                        ),
                        array(
                            "param_name" => "autoplay",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Autoplay",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "autoplay",
                        ),
                        array(
                            "param_name" => "autoplay_speed",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Autoplay speed (miliseconds)",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3000",
                            "toggle_enabled_by" => "autoplay",
                        ),
                        array(
                            "param_name" => "per_row",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Slides per row",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "1"
                        ),
                        array(
                            "param_name" => "slides_to_scroll",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Slides to scroll",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "1"
                        ),
                        array(
                            "param_name" => "gap",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Gap",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "10"
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Slide',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name"  => "images_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Large - Default - 1068x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Medium - 696x0px' => 'td_696x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Images size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "modal_imgs",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Modal images",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "modal_imgs"
                        ),
                        array(
                            "param_name"  => "modal_imgs_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Full - Default - 1920x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Medium - 696x0px' => 'td_696x0',
                                'Large - Default - 1068x0px'  => 'td_1068x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Modal images size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "toggle_enabled_by" => "modal_imgs"
                        ),
                        array(
                            "param_name" => "height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "50%"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0"
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "border_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Active slide',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "active_highlight",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Highlight active slide",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "active_highlight",
                        ),
                        array(
                            "param_name" => "all_border_a",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "inherit",
                            "toggle_enabled_by" => "active_highlight",
                        ),
                        array(
                            "param_name" => "all_border_a_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Inherit' => '',
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "toggle_enabled_by" => "active_highlight",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_border_a_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "active_highlight",
                        ),
                        array(
                            "param_name" => "border_radius_a",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "inherit",
                            "toggle_enabled_by" => "active_highlight",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Caption',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_caption",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => '',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "caption_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Bottom' => '',
                                'Top' => 'top',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "caption_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "auto",
                        ),
                        array(
                            "param_name" => "caption_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "8px 12px 9px",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "caption_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "caption_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_caption', true, 'Caption text' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Navigation',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "enable_swipe",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Enable swipe",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "enable_focus_on_click",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Enable click to focus on slide",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Arrows',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "enable_arrows",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Enable",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "arrows_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Inside' => '',
                                'Outside' => 'outside',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "arrows_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "arrows_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "13",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "arrows_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            'param_name' => 'tdicon_prev',
                            'type' => 'icon',
                            'heading' => 'Previous icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => '',
                            "info_img" => "",
                            "group" => '',
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            'param_name' => 'tdicon_next',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => '',
                            "info_img" => "",
                            "group" => '',
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "34",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icons color',
                            "param_name" => "icon_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icons hover color',
                            "param_name" => "icon_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "icon_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "param_name" => "icon_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            "toggle_enabled_by" => "nav_arrows"
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('icons_shadow', 'Icons shadow', 3, 0, 0, '', '', 0, true, '', '', '', 'nav_arrows' ),
                    td_config_helper::get_map_block_shadow_array('icons_bg_shadow', 'Background shadow', 0, 0, 0, '', '', 0, false, '', '', '', 'nav_arrows' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Dots',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "enable_dots",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Enable",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "nav_dots"
                        ),
                        array(
                            "param_name" => "dots_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Inside' => '',
                                'Outside' => 'outside',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "toggle_enabled_by" => "nav_dots"
                        ),
                        array(
                            "param_name" => "dots_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Dots size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "11",
                            "toggle_enabled_by" => "nav_dots"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            "toggle_enabled_by" => "nav_dots"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-a",
                            "heading" => 'Dots color',
                            "param_name" => "dots_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "nav_dots"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-b",
                            "heading" => 'Dots hover color',
                            "param_name" => "dots_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "nav_dots"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-triple-c",
                            "heading" => 'Dots active color',
                            "param_name" => "dots_color_a",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "toggle_enabled_by" => "nav_dots"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            "toggle_enabled_by" => "nav_dots"
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('dots_shadow', 'Shadow', 3, 0, 0, '', '', 0, true, '', '', '', 'nav_dots' ),

                    self::get_block_style()
                )
            )
        );

              td_api_block::add('tdb_gallery_tiled',
            array(
                'map_in_td_composer' => true,
                "name" => 'Gallery Tiled',
                "base" => "tdb_gallery_tiled",
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_gallery_tiled.php',
                'used_on_tdb_template' => array('cpt', 'single', 'category', 'cpt_tax', 'tag', 'author', 'attachment', 'page'),
                'tdc_style_params' => array(
                    'source',
                    'acf_field',
                    'images_size',
                    'el_class',
                    'images_on_row',
                ),
               'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'images_on_row' => 3,
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "source",
                            "type" => "dropdown",
                            "value" => array(
                                '-- Select --' => '',
                                'Post/CPT gallery' => 'post_gallery',
                                'ACF field (PRO only)' => 'acf_field',
                            ),
                            "heading" => 'Gallery source',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big tdc-gallery-source",
                            "group" => "",
                            "options_to_disable" => ( tdb_state_template::get_template_type() == 'single' || tdb_state_template::get_template_type() == 'cpt' || tdb_state_template::get_template_type() == 'module' ? '' : 'post_gallery' ) . ( !class_exists('ACF') ? ' acf_field' : '' )
                        ),
                        self::get_acf_fields_param( array(), array('gallery')),

                        array(
                            "param_name"  => "images_on_row",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '1fr',
                                '2'  => '1fr 1fr',
                                '3'  => '1fr 1fr 1fr',
                                '4'  => '1fr 1fr 1fr 1fr',
                                '5'  => '1fr 1fr 1fr 1fr 1fr',
                                '6'  => '1fr 1fr 1fr 1fr 1fr 1fr',
                                '7'  => '1fr 1fr 1fr 1fr 1fr 1fr 1fr',
                                '8'  => '1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr',
                                '9'  => '1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr',
                                '10' => '1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr',
                            ),
                            "heading"     => 'Images per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
//                            "group"       => "Layout",
//                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),

                        array(
                            "param_name" => "gap",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Gap",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "4"
                        ),

                        array(
                            "param_name" => "limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Limit",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => ""
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Images',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name"  => "images_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Large - Default - 1068x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Medium - 696x0px' => 'td_696x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Images size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "modal_imgs",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Modal images",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "modal_imgs"
                        ),
                        array(
                            "param_name"  => "modal_imgs_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Full - Default - 1920x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Medium - 696x0px' => 'td_696x0',
                                'Large - Default - 1068x0px'  => 'td_1068x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Modal images size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "toggle_enabled_by" => "modal_imgs"
                        ),
                        array(
                            "param_name" => "height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "50%"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Caption',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_caption",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => '',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "caption_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Bottom' => '',
                                'Top' => 'top',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "caption_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "auto",
                        ),
                        array(
                            "param_name" => "caption_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "6px 10px",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "caption_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "caption_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_caption', true, 'Caption text' ),



                    self::get_block_style()
                )
            )
        );






        if ( td_global::$is_woocommerce_installed && !defined('TD_WOO') ) {
            td_api_block::add('tdb_woo_menu_cart',
                array(
                    'map_in_visual_composer' => true,
                    'map_in_td_composer' => true,
                    "name" => 'Woo Menu Cart',
                    "base" => "tdb_woo_menu_cart",
                    "class" => "",
                    "controls" => "full",
                    "category" => 'Blocks',
                    'tdc_category' => 'Common page elements',
                    'icon' => 'icon-pagebuilder-tdb_woo_menu_cart',
                    'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_woo_menu_cart.php',
                    'tdc_style_params' => array(
                        'tdicon',
                        'el_class'
                    ),
                    'tdc_start_values' => base64_encode(
                        json_encode(
                            array(
                                array(
                                    "tdicon" => "td-icon-cart",
                                    "inline" => "yes",
                                    "cart_horiz_align" => "content-horiz-right",
                                    "subtotal_horiz" => "content-horiz-right",
                                )
                            )
                        )
                    ),
                    'params' => array_merge(
                        array(
                            array(
                                "param_name" => "show_cart",
                                "type" => "checkbox",
                                "value" => '',
                                "heading" => "Show cart",
                                "description" => "",
                                "holder" => "div",
                                "class" => "",
                            ),
                            array(
                                "param_name" => "separator",
                                "type" => "text_separator",
                                'heading' => 'Toggle',
                                "value" => "",
                                "class" => "tdc-separator",
                                "group" => '',
                            ),
                            array(
                                'param_name' => 'tdicon',
                                'type' => 'icon',
                                'heading' => 'Icon',
                                'class' => 'tdc-textfield-small',
                                'value' => '',
                            ),
                            array(
                                'param_name' => 'icon_size',
                                'type' => 'range-responsive',
                                'value' => '24',
                                'heading' => 'Icon size',
                                'description' => '',
                                'class' => 'tdc-textfield-small',
                                'range_min' => '1',
                                'range_max' => '60',
                                'range_step' => '1',
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "separator",
                                "type" => "horizontal_separator",
                                "value" => "",
                                "class" => "tdc-separator-small",
                                "group" => "",
                            ),
                            array(
                                "param_name" => "toggle_txt_pos",
                                "type" => "dropdown",
                                "value" => array(
                                    'After icon' => '',
                                    'Before icon' => 'before',
                                ),
                                "heading" => 'Text position',
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-dropdown-big",
                                "group" => "",
                            ),
                            array(
                                'param_name' => 'toggle_txt_align',
                                'type' => 'range-responsive',
                                'value' => '0',
                                'heading' => 'Text vert. position',
                                'description' => '',
                                'class' => 'tdc-textfield-small',
                                'range_min' => '-10',
                                'range_max' => '10',
                                'range_step' => '1',
                            ),
                            array(
                                "param_name" => "toggle_txt_space",
                                "type" => "textfield-responsive",
                                "value" => '',
                                "heading" => "Text space",
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-textfield-small",
                                "placeholder" => "12"
                            ),
                            array(
                                "param_name"  => "show_count",
                                "type"        => "dropdown-responsive",
                                "value"       => array(
                                    'Show' => 'flex',
                                    'Hide' => 'none',
                                ),
                                "heading"     => 'Show cart items count',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-dropdown-big",
                                "group"       => "",
                            ),
                            array(
                                "param_name"  => "show_value",
                                "type"        => "dropdown-responsive",
                                "value"       => array(
                                    'Show' => 'block',
                                    'Hide' => 'none',
                                ),
                                "heading"     => 'Show cart value',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-dropdown-big",
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "separator",
                                "type" => "horizontal_separator",
                                "value" => "",
                                "class" => "tdc-separator-small",
                                "group" => "",
                            ),
                            array(
                                "param_name" => "toggle_horiz_align",
                                "type" => "dropdown",
                                "value" => array(
                                    'Left' => 'content-horiz-left',
                                    'Center' => 'content-horiz-center',
                                    'Right' => 'content-horiz-right'
                                ),
                                "heading" => 'Horizontal align',
                                "description" => "",
                                "holder" => "div",
                                'tdc_dropdown_images' => true,
                                "class" => "tdc-visual-selector tdc-add-class",
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "inline",
                                "type" => "checkbox",
                                "value" => '',
                                "heading" => "Make inline",
                                "description" => "",
                                "holder" => "div",
                                "class" => "",
                            ),
                            array(
                                "param_name" => "float_block",
                                "type" => "checkbox",
                                "value" => '',
                                "heading" => 'Align block to right',
                                "description" => "",
                                "holder" => "div",
                                "class" => ""
                            ),

                            array(
                                "param_name" => "separator",
                                "type" => "text_separator",
                                'heading' => 'Cart',
                                "value" => "",
                                "class" => "tdc-separator",
                                "group" => '',
                            ),
                            array(
                                "param_name" => "cart_offset",
                                "type" => "textfield-responsive",
                                "value" => '',
                                "heading" => "Cart top offset",
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-textfield-small",
                                "placeholder" => "20"
                            ),
                            array(
                                "param_name" => "cart_width",
                                "type" => "textfield-responsive",
                                "value" => '',
                                "heading" => "Cart width",
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-textfield-small",
                                "placeholder" => "340"
                            ),
                            array(
                                "param_name" => "cart_padding",
                                "type" => "textfield-responsive",
                                "value" => '',
                                "heading" => "Cart padding",
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-textfield-big",
                                "placeholder" => "20px"
                            ),
                            array(
                                "param_name" => "cart_border",
                                "type" => "textfield-responsive",
                                "value" => '',
                                "heading" => "Cart border size",
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-textfield-big",
                                "placeholder" => "0"
                            ),
                            array(
                                "param_name" => "cart_border_style",
                                "type" => "dropdown-responsive",
                                "value" => array(
                                    'Solid' => '',
                                    'Dashed' => 'dashed',
                                    'Dotted' => 'dotted',
                                    'Double' => 'double',
                                ),
                                "heading" => 'Cart border style',
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-dropdown-big",
                                "group" => "",
                            ),
                            array(
                                "param_name" => "cart_horiz_align",
                                "type" => "dropdown",
                                "value" => array(
                                    'Left' => 'content-horiz-left',
                                    'Center' => 'content-horiz-center',
                                    'Right' => 'content-horiz-right'
                                ),
                                "heading" => 'Cart horiz. align',
                                "description" => "",
                                "holder" => "div",
                                'tdc_dropdown_images' => true,
                                "class" => "tdc-visual-selector tdc-add-class",
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "text_separator",
                                'heading'    => 'Items list',
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => "",
                            ),
                            array(
                                "param_name"  => "items_space",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Bottom space',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "20",
                                "group"       => "",
                            ),
                            array(
                                "param_name"  => "items_border",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Bottom border size',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "1",
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "items_border_style",
                                "type" => "dropdown-responsive",
                                "value" => array(
                                    'Solid' => '',
                                    'Dashed' => 'dashed',
                                    'Dotted' => 'dotted',
                                    'Double' => 'double',
                                ),
                                "heading" => 'Bottom border style',
                                "description" => "",
                                "holder" => "div",
                                "class" => "tdc-dropdown-big",
                                "group" => "",
                            ),
                            array(
                                "param_name" => "separator",
                                "type" => "horizontal_separator",
                                "value" => "",
                                "class" => "tdc-separator-small",
                                "group" => '',
                            ),
                            array(
                                "param_name"  => "item_space",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Items bottom space',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "16",
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "separator",
                                "type" => "horizontal_separator",
                                "value" => "",
                                "class" => "tdc-separator-small",
                                "group" => '',
                            ),
                            array(
                                "param_name"  => "image_width",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Image width',
                                "description" => "Default value in percent",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "44",
                                "group"       => "",
                                "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                            ),
                            array(
                                "param_name"  => "image_space",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Image space',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "12",
                                "group"       => "",
                            ),
                            array(
                                "param_name"  => "image_radius",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Image radius',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "0",
                                "group"       => "",
                                "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                            ),
                            array(
                                "param_name" => "separator",
                                "type" => "horizontal_separator",
                                "value" => "",
                                "class" => "tdc-separator-small",
                                "group" => '',
                            ),
                            array(
                                "param_name"  => "meta_info_vert",
                                "type"        => "dropdown-responsive",
                                "value"       => array(
                                    'Default' => '',
                                    'Top'     => 'initial',
                                    'Center'  => 'center',
                                    'Bottom'  => 'flex-end',
                                ),
                                "heading"     => 'Meta info vertical align',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-dropdown-big",
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "text_separator",
                                'heading'    => 'Cart info',
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => "",
                            ),
                            array(
                                "param_name" => "subtotal_horiz",
                                "type" => "dropdown",
                                "value" => array(
                                    'Left' => 'content-horiz-left',
                                    'Center' => 'content-horiz-center',
                                    'Right' => 'content-horiz-right'
                                ),
                                "heading" => 'Subtotal horiz align',
                                "description" => "",
                                "holder" => "div",
                                'tdc_dropdown_images' => true,
                                "class" => "tdc-visual-selector tdc-add-class",
                                "group"       => "",
                            ),
                            array(
                                "param_name"  => "btn_gap",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Buttons gap',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "14",
                                "group"       => "",
                            ),
                            array(
                                "param_name"  => "btn_radius",
                                "type"        => "textfield-responsive",
                                "value"       => '',
                                "heading"     => 'Buttons border radius',
                                "description" => "",
                                "holder"      => "div",
                                "class"       => "tdc-textfield-small",
                                "placeholder" => "0",
                                "group"       => "",
                                "info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
                            ),
                            array(
                                "param_name" => "separator",
                                "type" => "horizontal_separator",
                                "value" => "",
                                "class" => "",
                                "group" => '',
                            ),

                            array(
                                "param_name" => "separator",
                                "type" => "text_separator",
                                'heading' => 'Toggle',
                                "value" => "",
                                "class" => "tdc-separator",
                                "group" => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'Icon color',
                                "param_name" => "icon_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'Icon hover color',
                                "param_name" => "icon_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Cart items counts text color',
                                "param_name" => "count_txt_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Cart items counts background color',
                                "param_name" => "count_bg_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'Cart value text color',
                                "param_name" => "toggle_txt_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'Cart value text hover color',
                                "param_name" => "toggle_txt_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                        ),
                        td_config_helper::get_map_block_font_array( 'f_count', true, 'Cart items count text', 'Style' ),
                        td_config_helper::get_map_block_font_array( 'f_toggle', false, 'Cart value text', 'Style' ),
                        array(
                            array(
                                "param_name" => "separator",
                                "type" => "text_separator",
                                'heading' => 'Cart',
                                "value" => "",
                                "class" => "tdc-separator",
                                "group" => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Cart background',
                                "param_name" => "cart_bg",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Cart border color',
                                "param_name" => "cart_border_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                        ),
                        td_config_helper::get_map_block_shadow_array('cart_shadow', 'Shadow', 6, 0, 2, 'Style' ),
                        array(
                            array(
                                "param_name" => "separator",
                                "type" => "text_separator",
                                'heading' => 'Items list',
                                "value" => "",
                                "class" => "tdc-separator-small",
                                "group" => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Bottom border color',
                                "param_name" => "items_border_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'Item title color',
                                "param_name" => "title_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'Item title hover color',
                                "param_name" => "title_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Items amount color',
                                "param_name" => "amount_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'Items delete link color',
                                "param_name" => "delete_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'Items delete link hover color',
                                "param_name" => "delete_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                        ),
                        td_config_helper::get_map_block_font_array( 'f_title', true, 'Items title text', 'Style' ),
                        td_config_helper::get_map_block_font_array( 'f_amount', false, 'Items amount text', 'Style' ),
                        array(
                            array(
                                "param_name" => "separator",
                                "type" => "text_separator",
                                'heading' => 'Cart info',
                                "value" => "",
                                "class" => "tdc-separator-small",
                                "group" => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "",
                                "heading" => 'Subtotal color',
                                "param_name" => "subtotal_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'View cart button color',
                                "param_name" => "btn1_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'View cart button hover color',
                                "param_name" => "btn1_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'View cart button background color',
                                "param_name" => "btn1_bg_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'View cart button background hover color',
                                "param_name" => "btn1_bg_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'Checkout button color',
                                "param_name" => "btn2_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'Checkout button hover color',
                                "param_name" => "btn2_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-a",
                                "heading" => 'Checkout button background color',
                                "param_name" => "btn2_bg_color",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "type" => "colorpicker",
                                "holder" => "div",
                                "class" => "td-colorpicker-double-b",
                                "heading" => 'Checkout button background hover color',
                                "param_name" => "btn2_bg_color_h",
                                "value" => '',
                                "description" => '',
                                "group" => "Style",
                            ),
                            array(
                                "param_name" => "separator",
                                "type"       => "horizontal_separator",
                                "value"      => "",
                                "class"      => "tdc-separator-small",
                                "group"       => 'Style',
                            ),
                        ),
                        td_config_helper::get_map_block_font_array( 'f_subtotal', true, 'Subtotal text', 'Style' ),
                        td_config_helper::get_map_block_font_array( 'f_btns', false, 'Buttons text', 'Style' ),
                        array(

                            array (
                                'param_name' => 'css',
                                'value' => '',
                                'type' => 'css_editor',
                                'heading' => 'Css',
                                'group' => 'Design options',
                            ),
                            array (
                                'param_name' => 'tdc_css',
                                'value' => '',
                                'type' => 'tdc_css_editor',
                                'heading' => '',
                                'group' => 'Design options',
                            ),
                            array(
                                'param_name' => 'el_class',
                                'type' => 'textfield',
                                'value' => '',
                                'heading' => 'Extra class',
                                'description' => 'Style particular content element differently - add a class name and refer to it in custom CSS',
                                'class' => 'tdc-textfield-extrabig',
                            ),
                            array (
                                'param_name' => 'css',
                                'value' => '',
                                'type' => 'css_editor',
                                'heading' => 'Css',
                                'group' => 'Design options',
                            ),
                            array (
                                'param_name' => 'tdc_css',
                                'value' => '',
                                'type' => 'tdc_css_editor',
                                'heading' => '',
                                'group' => 'Design options',
                            ),
                        )
                    )
                )
            );
        }

        /**
         * *************************************************************************************************************
         * Form Elements
         * *************************************************************************************************************
         */
        td_api_block::add('tdb_form_input',
            array(
                "map_in_td_composer" => true,
                "name" => 'Form Input',
                "base" => 'tdb_form_input',
                "tdc_category" => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_input.php',
                'tdc_style_params' => array(
                    'wp_field',
                    'acf_field',
                    'label_txt',
                    'descr_txt',
                    'authenticated_users',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
                            array(
                                'authenticated_users' => 'yes'
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "form_type",
                            "type" => "dropdown",
                            "value" => array(
                                'Posts form' => '',
                                'User update form' => 'user',
                            ),
                            "heading" => 'Use this for',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name"  => "wp_field",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Custom field name',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-extrabig",
                            "placeholder" => "",
                            'toggle_enable_params' => 'wp-field',
                            'toggle_enable_params_reverse' => true,
                        ),
                        self::get_acf_fields_param(array('range', 'image', 'taxonomy', 'file', 'user', 'wysiwyg', 'post_object')),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => ""
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdc-s-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name"  => "label_txt",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Label text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-extrabig",
                            "placeholder" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_desc', true, 'Description text' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Input',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "checkbox_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Inline' => '',
                                'New line' => 'new_line',
                            ),
                            "heading" => 'Checkbox/radio display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "toggle_enable_params" => 'checkboxes_display',
                            "toggle_enable_params_reverse" => true
                        ),
                        array(
                            "param_name" => "checkbox_cols",
                            "type" => "dropdown-responsive",
                            "value" => array(
		                        '4 columns'  => '25%',
                                '1 column'  => '100%',
		                        '2 columns'  => '50%',
		                        '3 columns'  => '33.33333333%',
		                        '5 columns'  => '20%',
		                        '6 columns'  => '16.66666667%',
		                        '7 columns'  => '14.28571428%',
		                        '8 columns'  => '12.5%',
		                        '9 columns'  => '11.11111111%',
		                        '10 columns' => '10%',
                            ),
                            "heading" => 'Checkboxes/radio per row',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "toggle_enabled_by" => 'checkboxes_display'
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_input', true, 'Input/Label text' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Buttons',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Full',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Hollow',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color_hol",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_hol_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "btn_bg_hol",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_hol_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Border color',
                            "param_name" => "btn_border_hol",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Border hover color',
                            "param_name" => "btn_border_hol_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_form_title',
            array(
                "map_in_td_composer" => true,
                "name" => 'Posts Form Title',
                "base" => 'tdb_form_title',
                "tdc_category" => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_title.php',
                'tdc_style_params' => array(
                    'authenticated_users',
                    'label_txt',
                    'descr_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
                            array(
                                "authenticated_users" => "yes"
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => ""
		                ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdc-s-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'label_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Label text',
                            'description' => '',
                            'placeholder' => 'Title',
                            'class' => 'tdc-textfield-extrabig',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Input',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_input', true, 'Input/Label text' ),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_form_taxonomies',
            array(
                'map_in_td_composer' => true,
                "name" => 'Posts Form Taxonomies',
                "base" => "tdb_form_taxonomies",
                'tdc_category' => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_taxonomies.php',
                'tdc_style_params' => array(
                    'tax_types',
                    'required',
                    'authenticated_users',
                    'disable_limits',
                    'show_all_terms',
                    'disable_search',
                    'enable_term_create',
                    'parent_limit_notif',
                    'child_limit_notif',
                    'sub_child_limit_notif',
                    'parent_display',
                    'parent_limit_def',
                    'parent_limit_plans_0_id',
                    'parent_limit_plans_0_limit',
                    'parent_limit_plans_1_id',
                    'parent_limit_plans_1_limit',
                    'parent_limit_plans_2_id',
                    'parent_limit_plans_2_limit',
                    'parent_limit_plans_3_id',
                    'parent_limit_plans_3_limit',
                    'parent_limit_plans_4_id',
                    'parent_limit_plans_4_limit',
                    'child_display',
                    'child_limit_def',
                    'child_limit_plans_0_id',
                    'child_limit_plans_0_limit',
                    'child_limit_plans_1_id',
                    'child_limit_plans_1_limit',
                    'child_limit_plans_2_id',
                    'child_limit_plans_2_limit',
                    'child_limit_plans_3_id',
                    'child_limit_plans_3_limit',
                    'child_limit_plans_4_id',
                    'child_limit_plans_4_limit',
                    'sub_child_display',
                    'sub_child_limit_def',
                    'sub_child_limit_plans_0_id',
                    'sub_child_limit_plans_0_limit',
                    'sub_child_limit_plans_1_id',
                    'sub_child_limit_plans_1_limit',
                    'sub_child_limit_plans_2_id',
                    'sub_child_limit_plans_2_limit',
                    'sub_child_limit_plans_3_id',
                    'sub_child_limit_plans_3_limit',
                    'sub_child_limit_plans_4_id',
                    'sub_child_limit_plans_4_limit',
                    'label_txt',
                    'descr_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                'parent_limit_notif' => base64_encode( 'You have reached your limit of choices for parent %tax_name%. <a href="#">Increase your limit.</a>' ),
                                'child_limit_notif' => base64_encode( 'You have reached your limit of choices for child %tax_name%. <a href="#">Increase your limit.</a>' ),
                                'sub_child_limit_notif' => base64_encode( 'You have reached your limit of choices for sub-child %tax_name%. <a href="#">Increase your limit.</a>' ),
                                'check_col' => '3',
                                'authenticated_users' => 'yes'
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "tax_types",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Taxonomy",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "category"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "required",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Required field",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
		                ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "show_all_terms",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show all terms together",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "disable_search",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Disable terms search",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "term_create",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Enable term create",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "orderby",
                            "type" => "dropdown",
                            "value" => array(
                                'Name' => 'name',
                                'ID' => 'term_id',
                            ),
                            "heading" => 'Order terms by',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "order",
                            "type" => "dropdown",
                            "value" => array(
                                'Ascending' => 'ASC',
                                'Descending' => 'DESC',
                            ),
                            "heading" => 'Order terms',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "disable_limits",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Disable limits for admins",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Parent taxonomies',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "parent_display",
                            "type" => "dropdown",
                            "value" => array(
                                'Dropdown (single select)' => '',
                                'Checkboxes' => 'checkbox',
                                'Radio buttons (single select)' => 'radio',
                            ),
                            "heading" => 'Appearance',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-extrabig",
                            "group" => "",
                            "toggle_enable_params" => 'parent_display'
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "parent_drop_label",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Dropdown label",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'parent_display--',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Limits',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "parent_limit_def",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Limit choiches (checkbox - default)",
                            "description" => "Set the limit of checkbox selections",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "",
                            'toggle_enable_params' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "plans_limit_header",
                            "type" => "plans_limit_header",
                            "value" => "",
                            "class" => ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group" => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_0_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_0_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_1_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_1_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_2_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_2_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_3_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_3_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_4_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "parent_limit_plans_4_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'parent-limit-def',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'parent_limit_notif',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Parent taxonomies limit reached message',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Custom fields',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
		                    "param_name" => "parent_cf",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Show custom fields',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
                            "toggle_enable_params" => "parent_cf",
		                ),
                        array(
                            "param_name" => "parent_cf_filter",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom fields",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'parent_cf',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name"  => "parent_cf_cols",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            'toggle_enabled_by' => 'parent_cf',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Child taxonomies',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "child_display",
                            "type" => "dropdown",
                            "value" => array(
                                'Dropdown (single select)' => '',
                                'Checkboxes' => 'checkbox',
                                'Radio buttons (single select)' => 'radio',
                            ),
                            "heading" => 'Appearance',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-extrabig",
                            "group" => "",
                            "toggle_enable_params" => 'child_display',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "child_drop_label",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Dropdown label",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'child_display--',
                        ),
                        array(
		                    "param_name" => "child_term_create",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable create term',
		                    "description" => "Enable create term on child taxonomies",
		                    "holder" => "div",
		                    "class" => "",
		                ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Limits',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "child_limit_def",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Limit choiches (checkbox - default)",
                            "description" => "Set the limit of checkbox selections",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "",
                            'toggle_enable_params' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "plans_limit_header",
                            "type" => "plans_limit_header",
                            "value" => "",
                            "class" =>  ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group" => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_0_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_0_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_1_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_1_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_2_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_2_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_3_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_3_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_4_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "child_limit_plans_4_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'child-limit-def',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'child_limit_notif',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Child taxonomies limit reached message',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                            'toggle_enabled_by' => 'all-terms',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Custom fields',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
		                    "param_name" => "child_cf",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Show custom fields',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
                            "toggle_enable_params" => "child_cf",
		                ),
                        array(
                            "param_name" => "child_cf_filter",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom fields",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'child_cf',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name"  => "child_cf_cols",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            'toggle_enabled_by' => 'child_cf',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Sub-child taxonomies',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "sub_child_display",
                            "type" => "dropdown",
                            "value" => array(
                                'Dropdown (single select)' => '',
                                'Checkboxes' => 'checkbox',
                                'Radio buttons (single select)' => 'radio',
                            ),
                            "heading" => 'Appearance',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-extrabig",
                            "group" => "",
                            "toggle_enable_params" => 'sub_child_display',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "sub_child_drop_label",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Dropdown label",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'sub_child_display--',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Limits',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "sub_child_limit_def",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Limit choiches (checkbox - default)",
                            "description" => "Set the limit of checkbox selections",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "",
                            'toggle_enable_params' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "plans_limit_header",
                            "type" => "plans_limit_header",
                            "value" => "",
                            "class" => ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            "group" => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_0_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_0_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_1_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_1_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_2_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_2_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_3_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_3_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_4_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Plan IDs',
                            "description" => "You can enter multiple plan IDs, separated by ','.",
                            "placeholder" => "---",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-id " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "sub_child_limit_plans_4_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Limit',
                            "description" => "",
                            "placeholder" => "-",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-plans-limit-controller tdc-plans-limit-limit " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
                            'group'      => '',
                            'toggle_enabled_by' => 'sub-child-limit-def',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'sub_child_limit_notif',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Sub-child taxonomies limit reached message',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Custom fields',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
		                    "param_name" => "sub_child_cf",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Show custom fields',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
                            "toggle_enable_params" => "sub_child_cf",
		                ),
                        array(
                            "param_name" => "sub_child_cf_filter",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom fields",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'sub_child_cf',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name"  => "sub_child_cf_cols",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            'toggle_enabled_by' => 'sub_child_cf',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', 'Style', '', 'tdc-s-global-font' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Labels',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'label_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Label text',
                            'description' => '',
                            'placeholder' => '',
                            'class' => 'tdc-textfield-extrabig',
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Inputs',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "drop_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Dropdown list height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "277",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Dropdown option hover color',
                            "param_name" => "option_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Dropdown option hover background',
                            "param_name" => "option_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "param_name"  => "check_col",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '1',
                                '2' => '2',
                                '3' => '3',
                                '4' => '3',
                                '5' => '3',
                                '6' => '3',
                            ),
                            "heading"     => 'Checkboxes columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "check_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Checkboxes group height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "150",
                            "group" => "Style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Modals',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "modal_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "600",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "modal_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "modal_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Background overlay',
                            "param_name"  => "modal_overlay",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Separators color',
                            "param_name" => "modal_sep",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('modal_shadow', 'Shadow', 4, 0, 2, 'Style'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Header',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Title text color',
                            "param_name" => "modal_title",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Close icon color',
                            "param_name" => "modal_close",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Buttons',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "Style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Warning accent color',
                            "param_name" => "notif_warning_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Error accent color',
                            "param_name" => "notif_error_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_form_file_upload',
            array(
                'map_in_td_composer' => true,
                "name" => 'Form File Upload',
                "base" => "tdb_form_file_upload",
                'tdc_category' => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_file_upload.php',
                'tdc_style_params' => array(
                    'file_type',
                    'form_type',
                    'custom_field',
                    'authenticated_users',
                    'required',
                    'label_txt',
                    'descr_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
                            array(
                                'authenticated_users' => 'yes'
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "file_type",
                            "type" => "dropdown",
                            "value" => array(
                                'Image' => '',
                                'Documents' => 'document',
                                'Audio' => 'audio',
                                'Video' => 'video',
                            ),
                            "heading" => 'File type',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "form_type",
                            "type" => "dropdown",
                            "value" => array(
                                'Posts form' => '',
                                'User update form' => 'user',
                            ),
                            "heading" => 'Use this for',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "custom_field",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Save/load from",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "featured_image"
                        ),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
		                ),
                        array(
                            "param_name" => "required",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Required field",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdc-s-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "label_txt",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Label text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "File upload"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Input',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "input_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "142",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Previews',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "prev_img_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Image preview height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "30%",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Clear input button',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "clear_btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "clear_btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "clear_btn_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "param_name" => "clear_btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "clear_btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Warning accent color',
                            "param_name" => "notif_warning_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_form_gallery',
            array(
                'map_in_td_composer' => true,
                "name" => 'Form Gallery',
                "base" => "tdb_form_gallery",
                'tdc_category' => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_gallery.php',
                'tdc_style_params' => array(
                    'source',
                    'acf_field',
                    'authenticated_users',
                    'required',
                    'label_txt',
                    'descr_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
                            array(
                                'authenticated_users' => 'yes',
                                'columns' => '12.5%'
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "source",
                            "type" => "dropdown",
                            "value" => array(
                                '-- Select --' => '',
                                'Post/CPT gallery' => 'post_gallery',
                                'ACF field (PRO only)' => 'acf_field',
                            ),
                            "heading" => 'Save/load from',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big tdc-gallery-source",
                            "group" => "",
                            'toggle_enable_params' => 'wp-field',
                            'toggle_enable_params_reverse' => true,
                        ),
                        self::get_acf_fields_param(array(), array('gallery')),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'upload_limit',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Upload limit',
                            'description' => '',
                            'placeholder' => '',
                            'class' => 'tdc-textfield-small',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
		                ),
                        array(
                            "param_name" => "required",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Required field",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdc-s-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "label_txt",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Label text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "Gallery"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Input',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name"  => "columns",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Images per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Remove image button',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "remove_btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "remove_btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "remove_btn_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "param_name" => "remove_btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "remove_btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "100%",
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Warning accent color',
                            "param_name" => "notif_warning_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_form_content',
            array(
                'map_in_td_composer' => true,
                "name" => 'Form Content',
                "base" => "tdb_form_content",
                'tdc_category' => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_content.php',
                'tdc_style_params' => array(
                    'custom_field',
                    'required',
                    'authenticated_users',
                    'label_txt',
                    'descr_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
                            array(
                                'authenticated_users' => 'yes'
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "form_type",
                            "type" => "dropdown",
                            "value" => array(
                                'Posts form' => '',
                                'User update form' => 'user',
                            ),
                            "heading" => 'Use this for',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "custom_field",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Save/load from",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "post_content"
                        ),
                        array(
                            "param_name" => "required",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Required field",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
		                ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdc-s-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "label_txt",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Label text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "Content"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Input',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Editor toolbar',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "tool_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "tool_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Buttons hover text color',
                            "param_name" => "tool_btn_h_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Buttons hover background color',
                            "param_name" => "tool_btn_h_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Buttons hover border color',
                            "param_name" => "tool_btn_h_border",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_location_finder',
            array(
                'map_in_td_composer' => true,
                "name" => 'Posts Form Location Finder',
                "base" => "tdb_location_finder",
                'tdc_category' => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_location_finder.php',
                'tdc_style_params' => array(
                    'tax_type',
                    'required',
                    'authenticated_users',
                    'label_txt',
                    'descr_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
                            array(
                                'authenticated_users' => 'yes'
                            )
                        )
                    )
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "service",
                            "type" => "dropdown",
                            "value" => array(
                                'Google' => '',
                                'Bing' => 'bing',
                            ),
                            "heading" => 'Maps service provider',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
		                    "param_name" => "create_terms",
		                    "type" => "checkbox",
		                    "value" => 'yes',
		                    "heading" => 'Create taxonomy terms',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
                            "toggle_enable_params" => "create_terms"
		                ),
                        array(
                            "param_name" => "tax_type",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Taxonomy",
                            "description" => "Select the taxonomy",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "category",
                            "toggle_enabled_by" => "create_terms"
                        ),
                        array(
                            "param_name" => "location_meta",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Complete location post meta",
                            "description" => "Post meta where the complete location is stored.",
                            "holder" => "div",
                            "class" => "tdc-textfield-exxtrabig",
                            "placeholder" => "tdb-location-complete",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "required",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Required field",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
		                ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdb-global-font' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Map',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "map_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "400"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fields',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Labels',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'label_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Main label text',
                            'description' => '',
                            'placeholder' => '',
                            'class' => 'tdc-textfield-extrabig',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Labels text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Inputs',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Readonly text color',
                            "param_name" => "input_color_r",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Placeholder color',
                            "param_name" => "input_place",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2"
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Readonly border color',
                            "param_name" => "input_border_color_r",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_notif",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show in composer",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Warning accent color',
                            "param_name" => "notif_warn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_form_link_post',
            array(
                "map_in_td_composer" => true,
                "name" => 'Posts Form Link To Post',
                "base" => 'tdb_form_link_post',
                "tdc_category" => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_link_post.php',
                'tdc_style_params' => array(
                    'post_type',
                    'make_child',
                    'curr_user_only',
                    'required',
                    'authenticated_users',
                    'orderby',
                    'order',
                    'label_txt',
                    'descr_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
                            array(
                                'authenticated_users' => 'yes',
                                'curr_user_only' => 'yes'
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            'param_name' => 'post_type',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Post type',
                            'description' => '',
                            'placeholder' => '',
                            'class' => 'tdc-textfield-big',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "make_child",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make child of selected post",
                            "description" => "This option works only if the post type support hierarchy.",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "curr_user_only",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show only posts published by current user",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "required",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Required field",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable only for logged in users',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
		                ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'max_depth',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Max depth',
                            'description' => 'How many levels of the hierarchy are to be included. 0 means all.',
                            'placeholder' => '0',
                            'class' => 'tdc-textfield-small',
                            "group" => '',
                            "toggle_enable_params" => "max_depth",
                            "toggle_enable_params_reverse" => true,
                        ),
                        array(
                            'param_name' => 'depth_display',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Depth to display',
                            'description' => 'Will only display posts that match the selected depth.',
                            'placeholder' => '',
                            'class' => 'tdc-textfield-small',
                            "group" => '',
                            "toggle_enabled_by" => "max_depth"
                        ),
                        array(
                            "param_name" => "orderby",
                            "type" => "dropdown",
                            "value" => array(
                                'Title' => 'title',
                                'ID' => 'id',
                            ),
                            "heading" => 'Order by',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "order",
                            "type" => "dropdown",
                            "value" => array(
                                'Ascending' => 'ASC',
                                'Descending' => 'DESC',
                            ),
                            "heading" => 'Order terms',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdc-s-global-font' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Forms',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "all_input_display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => 'row',
                                'Columns' => 'columns',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Labels',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'all_label_width',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Width',
                            'description' => 'This setting applies only for columns input display.',
                            'placeholder' => '30%',
                            'class' => 'tdc-textfield-big',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'label_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Label text',
                            'description' => '',
                            'placeholder' => 'Link to existing post',
                            'class' => 'tdc-textfield-extrabig',
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "label_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'descr_txt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Description text',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Description color',
                            "param_name" => "descr_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Inputs',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "2",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_input_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "drop_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Dropdown list height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "277",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Dropdown option hover color',
                            "param_name" => "option_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Dropdown option hover background',
                            "param_name" => "option_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_form_submit',
            array(
                "map_in_td_composer" => true,
                "name" => 'Posts Form Submit',
                "base" => 'tdb_form_submit',
                "tdc_category" => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_form_submit.php',
                'tdc_style_params' => array(
                    'group_class',
                    'enable_post_create',
                    'post_type',
                    'post_format',
                    'custom_title_field',
                    'post_status',
                    'authenticated_users',
                    'link_to_curr_post',
                    'make_child',
                    'success_url',
                    'limit_def',
                    'limit_notif',
                    'enable_form_emailing',
                    'send_to_admin',
                    'send_to_author',
                    'send_to_custom_email',
                    'send_to_email_field',
                    'email_subject',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "enable_post_create" => "yes",
                                "send_to_admin" => "yes",
                                "send_to_author" => "yes",
                                "authenticated_users" => "yes",
                                'limit_notif' => base64_encode( '<div class="tdb-s-notif tdb-s-notif-info"><div class="tdb-s-notif-descr">You have reached your limit of posting new articles.</div></div>' ),
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "group_class",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Form group class",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Post create',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
		                    "param_name" => "enable_post_create",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable create post',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "tdc-fs-enable-post-create",
                            'toggle_enable_params' => 'post-form',
		                ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "post_type",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Post type",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "post",
                            'toggle_enabled_by' => 'post-form',
                        ),
                        array(
                            "param_name" => "post_format",
                            "type" => "dropdown",
                            "value" => array(
                                'Standard' => '',
                                'Video' => 'video',
                                'Audio' => 'Audio',
                            ),
                            "heading" => 'Post format',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            'toggle_enabled_by' => 'post-form',
                        ),
                        array(
                            "param_name" => "post_status",
                            "type" => "dropdown",
                            "value" => array(
                                'Draft' => '',
                                'Public' => 'publish',
                                'Private' => 'private',
                            ),
                            "heading" => 'Post publish status',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            'toggle_enabled_by' => 'post-form',
                        ),
                        array(
                            "param_name" => "cloud_tpl_id",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Cloud template ID",
                            "description" => "Fill in the ID of the cloud template you want to assign to new posts",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'post-form',
                        ),
                        array(
                            "param_name" => "custom_title_field",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom title field name",
                            "description" => "The specified custom field will be the post title",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'post-form',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
		                    "param_name" => "authenticated_users",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Only logged in users can post',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
                            'toggle_enabled_by' => 'post-form',
		                ),
                        array(
		                    "param_name" => "link_to_curr_post",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Link it to the current post',
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "tdc-fs-link-post-toggle",
                            'toggle_enabled_by' => 'post-form',
		                ),
                        array(
		                    "param_name" => "make_child",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Make child of the current post',
		                    "description" => "This option works only if the post type support hierarchy.",
		                    "holder" => "div",
		                    "class" => "",
		                ),
                        array(
                            'param_name' => 'success_url',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Redirect if successful',
                            'description' => '',
                            'class' => 'tdc-textfield-extrabig',
                            'toggle_enabled_by' => 'post-form',
                        ),
                    ),
                    self::get_new_posts_limit_atts('', true),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Email',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
		                    "param_name" => "enable_form_emailing",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Enable form emailing',
		                    "description" => "If it is enabled, an email will be sent according to the bellow settings",
		                    "holder" => "div",
		                    "class" => "",
                            'toggle_enable_params' => 'email-form',
		                ),
                        array(
		                    "param_name" => "send_to_admin",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Send to Administration email',
		                    "description" => "The admin email can be found in WordPress General Settings.",
		                    "holder" => "div",
		                    "class" => "",
                            'toggle_enabled_by' => 'email-form',
		                ),
                         array(
		                    "param_name" => "send_to_author",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Send to post author ',
		                    "description" => "If it is checked, the email will be send to the author's email address.",
		                    "holder" => "div",
		                    "class" => "",
                            'toggle_enabled_by' => 'email-form',
		                ),
                        array(
                            "param_name" => "send_to_custom_email",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Send to email",
                            "description" => "Add an email address.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            'toggle_enabled_by' => 'email-form',
                        ),
                        array(
                            "param_name" => "send_to_email_field",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Send to custom field Email",
                            "description" => "You can specify a custom field from the submit form to send the email.",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            'toggle_enabled_by' => 'email-form',
                        ),
                        array(
                            "param_name" => "email_subject",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Email Subject",
                            "description" => "",
                            "holder" => "div",
                            "placeholder" => "(no subject)",
                            "class" => "tdc-textfield-extrabig",
                            'toggle_enabled_by' => 'email-form',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Add email cf to email list',
                            "value"      => "",
                            "class" => (!class_exists('tds_config', false) ? 'tdc-hidden' : ''),
                        ),
                        array(
                            "param_name" => "cf_input_email_list",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Custom Field",
                            "description" => "Specify the custom field to be added to email list",
                            "holder" => "div",
                            "class" => (!class_exists('tds_config', false ) ? 'tdc-hidden' : 'tdc-textfield-big'),
                            "placeholder" => "",
                        ),
                        array(
                            "param_name" => "list",
                            "type" => "dropdown",
                            "value" => (class_exists('tds_config', false) ? tds_config::get_lists() : ''),
                            "heading" => 'Mailing list',
                            "description" => "The list in which you want to store the received email addresses.",
                            "holder" => "div",
                            "class" => (!class_exists('tds_config', false) ? 'tdc-hidden' : 'tdc-dropdown-big'),
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', 'Style', '', 'tdc-s-global-font' ),
                    array(

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Button',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'submit_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Submit text',
                            'description' => '',
                            'placeholder' => 'Submit',
                            'class' => 'tdc-textfield-big',
                            "group" => "Style",
                        ),
                        array(
                            'param_name' => 'update_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Update text',
                            'description' => '',
                            'placeholder' => 'Update',
                            'class' => 'tdc-textfield-big',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),

                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),

                        array(
                            'param_name' => 'all_border',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'placeholder' => '0',
                            'class' => 'tdc-textfield-big',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Border color',
                            "param_name" => "all_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Border hover color',
                            "param_name" => "border_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "",
                       ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'padd',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Padding',
                            'description' => '',
                            'placeholder' => '14px 24px 15px',
                            'class' => 'tdc-textfield-big',
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'min_width',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Minimum width',
                            'description' => '',
                            'placeholder' => '',
                            'class' => 'tdc-textfield-small',
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Default' => 'default',
                                'Inline' => 'inline',
                                'Full width' => 'full',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "horiz_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Style",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            "heading" => 'Icon',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "",
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Size',
                            'description' => '',
                            'placeholder' => '15',
                            'class' => 'tdc-textfield-small',
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "icon_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'After text' => '',
                                'Before text' => 'before',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'icon_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Space',
                            'description' => '',
                            'placeholder' => '10',
                            'class' => 'tdc-textfield-small',
                            "group" => 'Style',
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Vertical alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "",
                            "group" => 'Style',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Information accent color',
                            "param_name" => "notif_info_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Success accent color',
                            "param_name" => "notif_succ_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Error accent color',
                            "param_name" => "notif_error_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_user_form_submit',
            array(
                "map_in_td_composer" => true,
                "name" => 'User Update Form Submit',
                "base" => 'tdb_user_form_submit',
                "tdc_category" => 'Custom forms',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_user_form_submit.php',
                'tdc_style_params' => array(
                    'group_class',
                    'el_class'
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "group_class",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Form group class",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General style',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Accent color',
                            "param_name" => "accent_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'General text', '', '', 'tdc-s-global-font' ),
                    array(

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Button',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'update_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Update text',
                            'description' => '',
                            'placeholder' => 'Update',
                            'class' => 'tdc-textfield-big',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),

                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background hover color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),

                        array(
                            'param_name' => 'all_border',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'placeholder' => '0',
                            'class' => 'tdc-textfield-big',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Border color',
                            "param_name" => "all_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Border hover color',
                            "param_name" => "border_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "",
                       ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'padd',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Padding',
                            'description' => '',
                            'placeholder' => '14px 24px 15px',
                            'class' => 'tdc-textfield-big',
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'min_width',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Minimum width',
                            'description' => '',
                            'placeholder' => '',
                            'class' => 'tdc-textfield-small',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Default' => 'default',
                                'Inline' => 'inline',
                                'Full width' => 'full',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "horiz_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            "heading" => 'Icon',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Size',
                            'description' => '',
                            'placeholder' => '15',
                            'class' => 'tdc-textfield-small',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "icon_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'After text' => '',
                                'Before text' => 'before',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'icon_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Space',
                            'description' => '',
                            'placeholder' => '10',
                            'class' => 'tdc-textfield-small',
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Vertical alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "",
                            "group" => '',
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Notification messages',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "notif_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Information accent color',
                            "param_name" => "notif_info_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Success accent color',
                            "param_name" => "notif_succ_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Error accent color',
                            "param_name" => "notif_error_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );


        /**
         * *************************************************************************************************************
         * Header Elements
         * *************************************************************************************************************
         */

        // look for available menus
        $nav_menus = wp_get_nav_menus();

        if ( empty( $nav_menus ) ) {
            $td_block_menus = array('- No registered menu -' => '');
        } else {
            $td_block_menus = array('- Select menu -' => '');
            foreach ( (array) $nav_menus as $_nav_menu ) {
                $td_block_menus[esc_html(wp_html_excerpt( $_nav_menu->name, 40, '&hellip;' ))] = esc_attr( $_nav_menu->term_id );
            }
        }

        td_api_block::add('tdb_header_menu',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header main menu',
                "base" => "tdb_header_menu",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_menu.php',
                'tdc_style_params' => array(
                    'show_subcat',
                    'show_mega',
                    'show_mega_cats',
                    'mm_posts_limit',
                    'modules_on_row_regular',
                    'mm_subcats_posts_limit',
                    'modules_on_row_cats',
                    'mm_child_cats',
                    'modules_gap',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "main_sub_tdicon" => "td-icon-down",
                                "sub_tdicon" => "td-icon-right-arrow",
                                "mm_align_horiz" => "content-horiz-center",
                                "modules_on_row_regular" => "20%",
                                "modules_on_row_cats" => "25%",
                                "image_size" => "td_324x400",
                                "modules_category" => "image",
                                "show_excerpt" => "none",
                                "show_com" => "none",
                                "show_date" => "none",
                                "show_author" => "none",
                                "mm_sub_align_horiz" => "content-horiz-right",
                                "mm_elem_align_horiz" => "content-horiz-right",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "menu_id",
                            "type" => "dropdown",
                            "value" => $td_block_menus,
                            "heading" => 'Select menu',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "hide_audio" => "yes",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_select_menu_anim.png",
                        ),
                        array(
                            "param_name"  => "show_subcat",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show submenu in composer",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_show_submenu_anim.png",
                        ),
                        array(
                            "param_name"  => "show_mega",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show regular mega menu in composer",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_show_mega_simple_anim.png",
                        ),
                        array(
                            "param_name"  => "show_mega_cats",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show mm. with subcats in composer",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_show_mega_cats_anim.png",
                        ),
                        array(
                            "param_name"  => "mob_load",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Don't load on mobile",
                            "description" => "This option will stop rendering on mobile devices.",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Main menu',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_width_anim.png",
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_inline_anim.png",
                        ),
                        array(
                            "param_name"  => "more",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Drop menu items in <em>More</em>",
                            "description" => "This option displays the menu in one line and drops menu items in a More item for long menus.",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_more_anim.png",
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_right1_anim.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_horizontal_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Elements',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "elem_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_space_anim.png",
                        ),
                        array(
                            "param_name" => "elem_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0 14px",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_padding_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Sub menu icon',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'main_sub_tdicon',
                            'type' => 'icon',
                            'heading' => 'Sub menu icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_icon_anim.png",
                        ),
                        array(
                            "param_name" => "main_sub_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Sub menu icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "14",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_icon_size_anim.png",
                        ),
                        array(
                            "param_name" => "main_sub_icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Sub menu icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "7",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_icon_space_anim.png",
                        ),
                        array(
                            'param_name' => 'main_sub_icon_align',
                            'type' => 'range-responsive',
                            'value' => '-1',
                            'heading' => 'Sub menu icon alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_icon_align_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Separator icon',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'sep_tdicon',
                            'type' => 'icon',
                            'heading' => 'Separator icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_separator_icon_anim.png",
                        ),
                        array(
                            "param_name" => "sep_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Separator icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_separator_icon_size_anim.png",
                        ),
                        array(
                            "param_name" => "sep_icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Separator icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_separator_icon_space_anim.png",
                        ),
                        array(
                            'param_name' => 'sep_icon_align',
                            'type' => 'range-responsive',
                            'value' => '-1',
                            'heading' => 'Separator icon alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_separator_icon_align_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'More list',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "more_txt",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "More",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_more_text_anim.png",
                        ),
                        array(
                            'param_name' => 'more_tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_more_icon_anim.png",
                        ),
                        array(
                            "param_name" => "more_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_more_icon_size_anim.png",
                        ),
                        array(
                            'param_name' => 'more_icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_more_icon_align_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Sub menu',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "sub_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "auto",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_width_anim.png",
                        ),
                        array(
                            "param_name" => "sub_first_left",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "First level left position",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "-15",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_first_anim.png",
                        ),
                        array(
                            "param_name" => "sub_rest_top",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Subsequent levels top position",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "-15",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_subsequent_anim.png",
                        ),
                        array(
                            "param_name" => "sub_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Menu padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "15px 0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_padding_anim.png",
                        ),
                        array(
                            "param_name" => "sub_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_horizontal_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Elements',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "sub_elem_inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Display elements inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_inline_anim.png",
                        ),
                        array(
                            "param_name" => "sub_elem_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_space_anim.png",
                        ),
                        array(
                            "param_name" => "sub_elem_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "7px 30px",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_elements_padding_anim.png",
                        ),
                        array(
                            'param_name'  => 'sub_elem_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_elements_border_radius_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Sub menu icon',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'sub_tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_subsubmenu_icon_anim.png",
                        ),
                        array(
                            "param_name" => "sub_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "7",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_icon_size_anim.png",
                        ),
                        array(
                            "param_name" => "sub_icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_icon_space_anim.png",
                        ),
                        array(
                            "param_name"  => "sub_icon_pos",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Right side of list'  => '',
                                'Next to text'  => 'text',
                            ),
                            "heading"     => 'Position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_subsubmenu_icon_position_anim.png",
                        ),
                        array(
                            'param_name' => 'sub_icon_align',
                            'type' => 'range-responsive',
                            'value' => '1',
                            'heading' => 'Icon vertical alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_general_submenu_subsubmenu_icon_align_anim.png",
                        ),
                        array(
                            "param_name"  => "mm_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Container width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1114",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_container_width_anim.png",
                        ),
                        array(
                            "param_name"  => "mm_content_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Content width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_content_width_anim.png",
                        ),
                        array(
                            "param_name"  => "mm_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Height',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "auto",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_container_height_anim.png",
                        ),
                        array(
                            "param_name"  => "mm_padd",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "22",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_padding_anim.png",
                        ),
                        array(
                            "param_name"  => "mm_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "mm_offset",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Offset',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_offset_anim.png",
                        ),
                        array(
                            "param_name"  => "mm_align_screen",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Relative to menu'  => '',
                                'Relative to parent'  => 'parent',
                                'Relative to screen'  => 'yes',
                            ),
                            "heading"     => 'Position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_position_relative_anim.png",
                        ),
                        array(
                            "param_name" => "mm_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_horizontal_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Regular',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name" => "mm_posts_limit",
                            "type" => "textfield",
                            "value" => '5',
                            "placeholder" => "5",
                            "heading" => 'Posts limit',
                            "description" => "How many posts you want to show in the mega menu. By default 5 posts will appear.",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "group" => "Mega menu",
                        ),
                        array(
                            "param_name"  => "modules_on_row_regular",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Modules per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'With subcategories',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name" => "mm_subcats_posts_limit",
                            "type" => "textfield",
                            "value" => '4',
                            "placeholder" => "4",
                            "heading" => 'Posts limit',
                            "description" => "How many posts you want to show in the mega menu subcategories. By default 4 posts will appear.",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "group" => "Mega menu",
                        ),
                        array(
                            "param_name"  => "modules_on_row_cats",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Modules per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),
                        array(
                            "param_name" => "mm_child_cats",
                            "type" => "textfield",
                            "value" => '',
                            "placeholder" => "4",
                            "heading" => 'Subcategories limit',
                            "description" => "How many child subcategories do you want to show in the mega menu. By default 4 child categories will be displayed.",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_limit_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open posts in new tab",
                            "description" => "The posts will be opened in a new tab. This option adds target blank on image thumb and post title links.",
                            "holder" => "div",
                            "class" => "",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name" => "mm_ajax_preloading",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'No preloading' => '',
                                'Optimized Preload' => 'preload',
                                'Preload All' => 'preload_all',
                                'Delayed' => 'ui_delayed'
                            ),
                            "heading" => 'Mega menu preloader',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "mm_hide_all_item",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide 'All' from Subcats list",
                            "description" => "Hide the `All` item from mega menu subcategories list",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_hide_all_anim.png",
                        ),
                        array(
                            "param_name" => "mm_sub_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "List width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "200",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_width_anim.png",
                        ),
                        array(
                            "param_name" => "mm_sub_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "List padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "22px 0",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_padding_anim.png",
                        ),
                        array(
                            "param_name" => "mm_sub_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "List border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0 1px 0 0",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_border_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "mm_sub_inline",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Display elements inline",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_elements_inline_anim.png",
                        ),
                        array(
                            "param_name"  => "mm_elem_order",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Name - Default'  => 'name',
                                'ID'  => 'id',
                            ),
                            "heading"     => 'Order elements by',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_elements_order_anim.png",
                        ),
                        array(
                            "param_name" => "mm_elem_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_elements_space_anim.png",
                        ),
                        array(
                            "param_name" => "mm_elem_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5px 22px",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_elements_padding_anim.png",
                        ),
                        array(
                            "param_name" => "mm_elem_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "1px 0",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_elements_border_size_anim.png",
                        ),
                        array(
                            "param_name" => "mm_elem_border_a",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Active elem. border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "1px 0",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_active_element_border_size_anim.png",
                        ),
                        array(
                            "param_name" => "mm_elem_border_rad",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elem. border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_elements_border_radius_anim.png",
                        ),
                        array(
                            "param_name" => "mm_elem_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Elements horiz. align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_mega_list_elements_horizontal_anim.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Mega menu module',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "mc1_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '25',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/title_length.png",
                        ),
                        array(
                            "param_name" => "mc1_title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'Paragraph' => 'p'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
                        array(
                            "param_name"  => "mc1_el",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Excerpt length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Mega menu",
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "22",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name"  => "m_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
                        ),
                        array(
                            "param_name"  => "all_modules_space",
                            "type"        => "textfield-responsive",
                            "value"       => '36',
                            "heading"     => 'Modules bottom space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "36",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            "param_name"  => "modules_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
                        ),
                        array(
                            "param_name"  => "modules_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "modules_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            "param_name"  => "modules_divider",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Modules divider',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Modules divider color',
                            "param_name"  => "modules_divider_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            "param_name"  => "h_effect",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Shadow'  => 'shadow',
                                'Move up & shadow'  => 'up-shadow',
                            ),
                            "heading"     => 'Hover effect',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "70",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "image_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (0-100 percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_floated",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Normal'      => 'no_float',
                                'Float left'  => 'float_left',
                                'Float right' => 'float_right',
                                'Hidden'      => 'hidden',
                            ),
                            "heading"     => 'Image position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
                        ),
                        array(
                            "param_name"  => "image_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name"  => "hide_image",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide image",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article video',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "video_icon",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            "param_name"  => "show_vid_t",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show video duration',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
                        ),
                        array(
                            "param_name"  => "vid_t_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
                        ),
                        array(
                            "param_name"  => "vid_t_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            "param_name" => "vid_t_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration text color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
                        ),
                        array(
                            "param_name" => "vid_t_bg_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_vid_time', true, 'Video duration text', 'Mega menu' ),
                    td_config::get_map_exclusive_label_array('', true, 'Mega menu'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "show_audio",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Visible' => 'block',
                                'Hidden' => 'none',
                            ),
                            "heading"     => 'Show audio player',
                            "description" => "This will hide the audio player responsive",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name"  => "hide_audio",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Remove audio player",
                            "description" => "This will remove the audio player from code",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Mega menu',
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "art_audio",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Audio player space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
                        ),
                        array(
                            'param_name'  => 'art_audio_size',
                            'type'        => 'range-responsive',
                            'value'       => '1',
                            'heading'     => 'Audio player size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article meta info',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "meta_info_align",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Default' => '',
                                'Top'     => 'initial',
                                'Center'  => 'center',
                                'Bottom'  => 'flex-end',
                            ),
                            "heading"     => 'Meta info alignment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name"  => "meta_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "7px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "art_title",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 6px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "meta_info_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_border_width.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "meta_info_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Over image'  => 'image',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_category_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "modules_category_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "modules_cat_border",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
                        ),
                        array(
                            'param_name'  => 'modules_category_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
                        ),
                        array(
                            "param_name"  => "show_cat",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name"  => "modules_extra_cat",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Hide' => 'hide',
                            ),
                            "heading"     => 'Show custom label',
                            "description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "show_author",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "author_photo",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show author photo",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
                        ),
                        array(
                            "param_name"  => "author_photo_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
                        ),
                        array(
                            "param_name"  => "author_photo_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
                        ),
                        array(
                            "param_name"  => "author_photo_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50%",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "show_date",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "time_ago_txt_pos",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Mega menu",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "show_com",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show comment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            "param_name"  => "show_excerpt",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show excerpt',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
                        ),
                        array(
                            "param_name"  => "art_excerpt",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
                        ),
                        array(
                            "param_name"  => "excerpt_col",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '1',
                                '2' => '2',
                                '3' => '3',
                            ),
                            "heading"     => 'Article excerpt columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_article_excerpt_columns.png",
                        ),
                        array(
                            "param_name"  => "excerpt_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt columns gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "48",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name"  => "excerpt_middle",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Excerpt in middle",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Mega menu",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            "param_name"  => "show_review",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            "param_name"  => "review_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Review stars space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Mega menu",
                            "info_img" => "",
                        ),
                        array(
                            'param_name'  => 'review_size',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "review_distance",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Distance between rating stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Mega menu",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Mega menu'
                        ),
                        array(
                            "param_name"  => "show_pagination",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'On' => '',
                                'Off' => 'disabled',
                            ),
                            "heading"     => 'Mega menu pagination',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Mega menu",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "pag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Top space',
                            "description" => "",
                            "placeholder" => "20",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => 'Mega menu',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
                        ),
                        array(
                            "param_name"  => "pag_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
                        ),
                        array(
                            "param_name"  => "pag_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
                        ),
                        array(
                            "param_name"  => "pag_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Mega menu',
                        ),
                        array(
                            'param_name' => 'prev_tdicon',
                            'type' => 'icon',
                            'heading' => 'Prev icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Mega menu',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            'param_name' => 'next_tdicon',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => 'Mega menu'
                        ),
                        array(
                            "param_name"  => "pag_icons_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icons size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "group"       => "Mega menu",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Main menu',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "text_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "main_sub_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_icon_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Separator icon color',
                            "param_name" => "sep_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_separator_icon_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'More icon color',
                            "param_name" => "more_icon_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_more_icon_color_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Active & hover',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "tds_menu_active",
                            "type" => "dropdown",
                            "value" => td_api_style::get_styles_for_mapping( 'tds_menu_active', false ),
                            "heading" => 'Active & hover style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_anim.png",
                        ),
                        array(
                            "param_name" => "hover_opacity",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Hover opacity",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_opacity_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_elem', true, 'Elements text', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Sub menu',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "sub_bg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_bg_color_anim.png",
                        ),
                        array(
                            "param_name"  => "sub_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_border_size_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "sub_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_border_color_anim.png",
                        ),
                        array(
                            "param_name"  => "sub_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Elements',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "sub_text_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Elements background color',
                            "param_name" => "sub_elem_bg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_elements_bg_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "sub_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_subsubmenu_icon_color_anim.png",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('sub_shadow', 'Shadow', 4, 1, 1, 'Style'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Active & hover',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "param_name" => "tds_menu_sub_active",
                            "type" => "dropdown",
                            "value" => td_api_style::get_styles_for_mapping( 'tds_menu_sub_active', false ),
                            "heading" => 'Active & hover style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_hover_style_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_sub_elem', true, 'Elements text', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Mega menu',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Background',
                            "param_name"  => "mm_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_bg_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Content background',
                            "param_name"  => "mm_content_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name"  => "mm_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "1",
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_border_size_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "mm_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_border_color_anim.png",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('mm_shadow', 'Shadow', 6, 0, 2, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Subcategories list',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'List background',
                            "param_name"  => "mm_subcats_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_list_bg_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'List border color',
                            "param_name"  => "mm_subcats_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_list_border_color_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Elements text color',
                            "param_name"  => "mm_elem_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_list_text_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Active elements text color',
                            "param_name"  => "mm_elem_color_a",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Elements background color',
                            "param_name"  => "mm_elem_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_list_elements_bg_color_anim.png",
                        ),
                        array(
                            "type"        => "gradient",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Active elements background color',
                            "param_name"  => "mm_elem_bg_a",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Elements border color',
                            "param_name"  => "mm_elem_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_megamenu_list_elements_border_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Active elements border color',
                            "param_name"  => "mm_elem_border_color_a",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('mm_elem_shadow', 'Elements shadow', 0, 0, 0, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_mm_sub', true, 'Sub categories elements', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Mega menu module',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Module background',
                            "param_name"  => "m_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "color_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Module image overlay",
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name"  => "all_underline_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Underline size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Hover underline color',
                            "param_name"  => "all_underline_color",
                            "value"       => '#000',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category border color',
                            "param_name"  => "cat_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category border hover',
                            "param_name"  => "cat_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'AUTHOR / DATE / COMMENT / EXCERPT',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Excerpt text color',
                            "param_name"  => "ex_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment background',
                            "param_name"  => "com_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment text color',
                            "param_name"  => "com_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Review stars color',
                            "param_name"  => "rev_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Audio player',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Buttons color',
                            "param_name"  => "audio_btn_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Time text color',
                            "param_name"  => "audio_time_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars background color',
                            "param_name"  => "audio_bar_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Bars progress color',
                            "param_name"  => "audio_bar_curr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Text color',
                            "param_name"  => "pag_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "pag_h_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "pag_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "pag_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Border color',
                            "param_name"  => "pag_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "pag_h_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
                    td_config_helper::mix_blend(),
                    td_config_helper::image_filters(),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_header_mega_menu',
            array(
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_mega_menu.php',
                // key added to supply 'show_child_cat' differently
                'render_atts' => array(
                    'show_child_cat' => 1,
                ),
                "params" => array_merge(
                    array(
                    )
                )
            )
        );

        td_api_block::add('tdb_header_categories',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header categories list',
                "base" => "tdb_header_categories",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_categories.php',
                'tdc_style_params' => array(
                    'tdicon',
                    'exclude',
                    'include',
                    'limit',
                    'el_class'
                ),
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "show_list",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show categories list",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_show_list_anim.png",
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Make inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_inline_anim.png",
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_right_anim.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_horizontal_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Toggle icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_icon_anim.png",
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'range-responsive',
                            'value' => '22',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '60',
                            'range_step' => '1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_icon_size_anim.png",
                        ),
                        array(
                            'param_name' => 'icon_padding',
                            'type' => 'range-responsive',
                            'value' => '2.5',
                            'heading' => 'Icon padding',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '4',
                            'range_step' => '0.1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_icon_padding_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Categories list',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "width",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "210",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_width_anim.png",
                        ),
                        array(
                            "param_name"  => "columns",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                            ),
                            "heading"     => 'Columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_columns_anim.png",
                        ),
                        array(
                            "param_name" => "gap",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Gap",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "20",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_columns_gap_anim.png",
                        ),
                        array(
                            "param_name" => "padding",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "15px 30px",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_padding_anim.png",
                        ),
                        array(
                            "param_name" => "exclude",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Exclude",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_exclude_anim.png",
                        ),
                        array(
                            "param_name" => "include",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Include",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_include_anim.png",
                        ),
                        array(
                            "param_name" => "limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Limit",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "6",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_limit_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Elements',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "el_margin",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Bottom space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_elements_bottom_anim.png",
                        ),
                        array(
                            "param_name" => "el_padding",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "7px 0",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_elements_padding_anim.png",
                        ),
                        array(
                            "param_name" => "el_border_size",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_elements_border_anim.png",
                        ),
                        array(
                            "param_name" => "el_border_radius",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "7px 0",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_elements_border_radius_anim.png",
                        ),
                        array(
                            "param_name" => "show_bg",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Show backgrounds',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_style_list_elements_bg_image_anim.png",
                        ),
                        array(
                            "param_name" => "el_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_list_horizontal_anim .png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Icon',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_icon_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_general_icon_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icon hover color',
                            "param_name"  => "icon_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Categories list',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Background color',
                            "param_name"  => "bg_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_style_list_bg_anim.png",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 6, 0, 2, 'Style', '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Elements',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Text color',
                            "param_name"  => "elem_text_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_style_list_elements_text_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "elem_text_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "show_overlay",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Category specific overlay',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_style_list_elements_specific_overlay_anim.png",
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Overlay color',
                            "param_name" => "overlay_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_style_list_elements_overlay_anim.png",
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Overlay hover color',
                            "param_name" => "overlay_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Border color',
                            "param_name"  => "elem_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/cat_list_style_list_elements_border_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "elem_border_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_elem', true, 'Elements text', 'Style' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_header_logo',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header logo',
                "base" => "tdb_header_logo",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_logo.php',
                'tdc_style_params' => array(
                    'url',
                    'image',
                    'image_retina',
                    'alt',
                    'title',
                    'text',
                    'tagline',
                    'tdicon',
                    'el_class'
                ),
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "align_vert" => "content-vert-center",
                                "disable_h1" => "yes",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "url",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Logo url",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "url_rel",
                            "type" => "dropdown",
                            "value" => array(
                                'Disable' => '',
                                'Nofollow' => 'nofollow',
                                'Noopener' => 'noopener',
                                'Noreferrer' => 'noreferrer'
                            ),
                            "heading" => "Set rel attribute",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "disable_h1",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Disable H1 on logo",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "display",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Columns' => 'row',
                                'Row' => 'column',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_display_animation.png",
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "align_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Top' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Bottom' => 'content-vert-bottom'
                            ),
                            "heading" => 'Vertical align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_vertical_align_animation.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_horizontal_align_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Image',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "image",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Logo image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_image_animation.png",
                        ),
                        array(
                            "param_name" => "image_retina",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Logo retina image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            'param_name' => 'alt',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Alt attribute',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            'param_name' => 'title',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Title attribute',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "image_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Image width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "auto",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_image_size_animation.png",
                        ),
                        array(
                            "param_name" => "img_txt_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Image space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_image_space_animation.png",
                        ),
                        array(
                            "param_name" => "show_image",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show image',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_image_animation.png",
                        ),
                        array(
                            "param_name" => "image_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Before title' => '',
                                'Between title & tagline' => 'between',
                                'After title' => 'after',
                            ),
                            "heading" => 'Image position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_image_position_animation.png",
                        ),
                        array(
                            "param_name" => "lazy_load",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Lazy Load animation',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Text',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "text",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Logo text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_text_animation.png",
                        ),
                        array(
                            'param_name' => 'tagline',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'Logo text tagline',
                            'description' => '',
                            'class' => 'tdc-textarea-extrasmall',
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_tagline_text_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "ttl_tag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between title & tagline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_text_tagline_space_animation.png",
                        ),
                        array(
                            "param_name" => "show_title",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show text',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_text_animation.png",
                        ),
                        array(
                            "param_name" => "title_wrap",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Wrap title',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "show_tagline",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show tagline',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_tagline_animation.png",
                        ),
                        array(
                            "param_name" => "tagline_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Row' => '',
                                'Columns' => 'inline',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_tagline_display_animation.png",
                        ),
                        array(
                            "param_name" => "tagline_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_tagline_horizontal_align_animation.png",
                        ),
                        array(
                            "param_name" => "tagline_align_vert",
                            "type" => "dropdown",
                            "value" => array(
                                'Top' => 'content-vert-top',
                                'Center' => 'content-vert-center',
                                'Bottom' => 'content-vert-bottom'
                            ),
                            "heading" => 'Vertical align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_tagline_vertical_align_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Icon',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Logo icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_icon_animation.png",
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "46",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_icon_size_animation.png",
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_icon_space_animation.png",
                        ),
                        array(
                            "param_name" => "icon_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "icon_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "",
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "show_icon",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show icon',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_icon_animation.png",
                        ),
                        array(
                            "param_name" => "icon_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Before title' => '',
                                'Between title & tagline' => 'between',
                                'After title' => 'after',
                            ),
                            "heading" => 'Icon position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_icon_position_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),

                        array(
                            'param_name' => 'svg_code',
                            'type' => 'textarea_raw_html',
                            'value' => '',
                            'heading' => 'SVG code',
                            'description' => 'You can edit a SVG image with Notepad to extract its code and place it here.',
                            'class' => 'tdc-textarea-small',
                            "group" => "SVG",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_image_animation.png",
                        ),
                        array(
                            "param_name" => "svg_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "SVG width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "auto",
                            "group" => "SVG",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_image_size_animation.png",
                        ),
                        array(
                            "param_name" => "svg_txt_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "SVG space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "SVG",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_image_space_animation.png",
                        ),
                        array(
                            "param_name" => "show_svg",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show SVG',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "SVG",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_show_image_animation.png",
                        ),
                        array(
                            "param_name" => "svg_pos",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Before title' => '',
                                'Between title & tagline' => 'between',
                                'After title' => 'after',
                            ),
                            "heading" => 'SVG position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "SVG",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_general_image_position_animation.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'SVG',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'SVG color',
                            "param_name" => "svg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_icon_color_animation.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'SVG hover color',
                            "param_name" => "svg_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Text',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "text_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_text_color_animation.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "text_bg",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Text background image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_background_image_animation.png",
                        ),
                        array(
                            "param_name" => "text_bg_h",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Text background hover image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_background_hover_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Tagline color',
                            "param_name" => "tagline_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_tagline_color_animation.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Tagline hover color',
                            "param_name" => "tagline_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "tagline_bg",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Tagline background image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_tagline_background_animation.png",
                        ),
                        array(
                            "param_name" => "tagline_bg_h",
                            "type" => "attach_image",
                            "value" => '',
                            "heading" => "Tagline background hover image",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_tagline_hover_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_text', true, 'Text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_tagline', false, 'Tagline', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Icon',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "icon_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/logo_style_icon_color_animation.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "icon_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => "Style",
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "icon_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Background hover color',
                            "param_name" => "icon_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_header_search',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header live search',
                "base" => "tdb_header_search",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_search.php',
                'tdc_style_params' => array(
                    'show_form',
                    'post_type',
                    'results_section_1_title',
                    'results_section_1_taxonomies',
                    'results_section_1_level',
                    'results_section_2_title',
                    'results_section_2_taxonomies',
                    'results_section_2_level',
                    'results_section_3_title',
                    'results_section_3_taxonomies',
                    'results_section_3_level',
                    'results_section_search_query_terms',
                    'results_section_search_query_terms_title',
                    'results_section_search_query_terms_taxonomies',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                                "toggle_txt_pos" => "after",
                                "form_align" => "content-horiz-right",
                                "results_msg_align" => "content-horiz-center",
                                "image_floated" => "float_left",
                                "image_width" => "30",
                                "image_size" => "td_324x400",
                                "show_cat" => "none",
                                "show_btn" => "none",
                                "show_date" => "",
                                "show_review" => "none",
                                "show_com" => "none",
                                "show_excerpt" => "none",
                                "show_author" => "none",
                                "meta_padding" => "2px 0 0 15px",
                                "art_title" => "0 0 5px",
                                "all_modules_space" => "20",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
						// post type
						array(
			                "param_name" => "post_type",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => 'Post type',
			                "description" => "The post type to search for.",
			                "holder" => "div",
			                "placeholder" => "",
			                "class" => "tdc-textfield-big"
			            ),
                        array(
                            "param_name" => "disable_trigger",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Show form only",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "",
                            'toggle_enable_params' => 'open-form-composer',
                            'toggle_enable_params_reverse' => true
                        ),
                        array(
                            "param_name" => "show_form",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open search form in composer",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-show-form-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "show_results",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Show search results in composer",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
	                    array(
		                    "param_name" => "disable_live_search",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => "Disable Live Search",
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
	                    ),
                        array(
                            "param_name" => "exclude_pages",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Exclude pages",
                            "description" => "Exclude pages from live search",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "exclude_posts",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Exclude posts",
                            "description" => "Exclude posts from live search",
                            "holder" => "div",
                            "class" => "",
                        ),
						// search results sections
						array(
			                "param_name" => "separator",
			                "type" => "text_separator",
			                'heading' => 'Search Results Sections',
			                "value" => "",
			                "class" => "tdc-separator",
			                "group" => '',
			            ),
						// 1st section settings
                        array(
                            "param_name" => "search_section_header",
                            "type" => "search_section_header",
                            "value" => "",
                            "class" => '',
                        ),
						array(
			                "param_name" => "results_section_1_title",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-title",
			                "placeholder" => "-",
			            ),
						array(
			                "param_name" => "results_section_1_taxonomies",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-tax",
	                        "placeholder" => "-",
			            ),
						array(
			                "param_name" => "results_section_1_level",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-small tdc-search-section-controller tdc-search-section-level",
			                "placeholder" => "Level",
			            ),
						// 2nd section settings
						array(
			                "param_name" => "results_section_2_title",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-title",
			                "placeholder" => "-",
			            ),
						array(
			                "param_name" => "results_section_2_taxonomies",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-tax",
	                        "placeholder" => "-",
			            ),
						array(
			                "param_name" => "results_section_2_level",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-small tdc-search-section-controller tdc-search-section-level",
			                "placeholder" => "-",
			            ),
						// 3rd section settings
						array(
			                "param_name" => "results_section_3_title",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-title",
			                "placeholder" => "-",
			            ),
						array(
			                "param_name" => "results_section_3_taxonomies",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-tax",
	                        "placeholder" => "-",
			            ),
						array(
			                "param_name" => "results_section_3_level",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-small tdc-search-section-controller tdc-search-section-level",
			                "placeholder" => "-",
			            ),
						// search query terms settings
	                    array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Search query matching terms section',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
						array(
                            "param_name" => "results_section_search_query_terms",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Search in terms",
                            "description" => "Display a section with the search query matching terms",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "search_section_header",
                            "type" => "search_section_header",
                            "value" => "",
                            "class" => 'tdc-search-section-header-no-level',
                        ),
						array(
			                "param_name" => "results_section_search_query_terms_title",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-title",
			                "placeholder" => "-",
			            ),
						array(
			                "param_name" => "results_section_search_query_terms_taxonomies",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => '',
			                "description" => "",
			                "holder" => "div",
			                "class" => "tdc-textfield-big tdc-search-section-controller tdc-search-section-tax-big",
	                        "placeholder" => "-",
			            ),
	                    array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "sec_title_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Section title space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "10",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Section title color',
                            "param_name"  => "sec_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "tax_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Taxonomy item space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "5",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Taxonomy title color',
                            "param_name"  => "tax_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Taxonomy title hover color',
                            "param_name"  => "tax_title_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_sec_title', true, 'Section title text' ),
                    td_config_helper::get_map_block_font_array( 'f_tax_title', false, 'Taxonomy title text' ),
                    array(
						// search icon settings
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Search icon',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Search icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-show-icon-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'range-responsive',
                            'value' => '20',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '60',
                            'range_step' => '1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-icon-size-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            'param_name' => 'icon_padding',
                            'type' => 'range-responsive',
                            'value' => '2.4',
                            'heading' => 'Icon padding',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '4',
                            'range_step' => '0.1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-icon-padding-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "toggle_txt",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-text-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "toggle_txt_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before icon' => '',
                                'After icon' => 'after',
                            ),
                            "heading" => 'Text position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-text-position-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            'param_name' => 'toggle_txt_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Text vert. position',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-text-vertical-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "toggle_txt_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Text space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-text-space-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "aria_label",
                            "type" => "textfield",
                            "value" => 'Search',
                            "heading" => 'Aria Label',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "toggle_horiz_align",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-horizontal-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-inline-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "float_block",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-right-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Search form',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "form_offset",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Form top offset",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-top-offset-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "form_offset_left",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Form left offset",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-left-offset-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "form_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Form width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "300",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-width-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "form_content_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Form content width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-content-width-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "form_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Form padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "20px",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-padding-anim.png"
                        ),
                        array(
                            "param_name" => "form_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Form border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3px 0 0 0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-border-size-anim.png"
                        ),
                        array(
                            "param_name"  => "form_align_screen",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Relative to menu'  => '',
                                'Relative to screen'  => 'yes',
                            ),
                            "heading"     => 'Position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "form_align",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Form horiz. align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-menu-horizontal-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Input',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "input_placeholder",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Placeholder",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-placeholder-anim.png"
                        ),
                        array(
                            'param_name' => 'placeholder_travel',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Placeholder travel',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '100',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-placeholder-travel-anim.png"
                        ),
                        array(
                            "param_name" => "input_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3px 9px",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-padding-anim.png"
                        ),
                        array(
                            "param_name" => "input_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "1px 1px 1px 1px",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-border-size-anim.png"
                        ),
                        array(
                            "param_name" => "input_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-border-radius-anim.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "btn_text",
                            "type" => "textfield",
                            "value" => 'Search',
                            "heading" => "Text",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-text-anim.png"
                        ),
                        array(
                            "param_name" => "btn_aria_label",
                            "type" => "textfield",
                            "value" => 'Search',
                            "heading" => 'Aria Label',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big"
                        ),
                        array(
                            'param_name' => 'btn_tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-icon-anim.png"
                        ),
                        array(
                            "param_name" => "btn_icon_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before' => '',
                                'After' => 'after',
                            ),
                            "heading" => 'Icon position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-icon-position-anim.png"
                        ),
                        array(
                            "param_name" => "btn_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "12",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-icon-size-anim.png"
                        ),
                        array(
                            "param_name" => "btn_icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-icon-space-anim.png"
                        ),
                        array(
                            'param_name' => 'btn_icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-icon-align-anim.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_margin",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Margin",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-margin-anim.png"
                        ),
                        array(
                            "param_name" => "btn_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0 15px",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-padding-anim.png"
                        ),
                        array(
                            "param_name" => "btn_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-border-size-anim.png"
                        ),
                        array(
                            "param_name" => "btn_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-input-button-border-radius-anim.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Search results box',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "results_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0 15px",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-results-padding-anim.png"
                        ),
                        array(
                            "param_name" => "results_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "1px 0 0 0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-results-border-anim.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Results message',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "results_msg_padding",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "4px 0 6px 0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-message-padding-anim.png"
                        ),
                        array(
                            "param_name" => "results_msg_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-message-border-anim.png"
                        ),
                        array(
                            "param_name" => "results_msg_align",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-message-horizontal-anim.png"
                        ),

                        array(
                            "param_name"  => "mc1_tl",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Title length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => '8',
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/title_length.png",
                        ),
                        array(
                            "param_name" => "mc1_title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H3' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H4' => 'h4',
                                'Paragraph' => 'p'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
                        ),
                        array(
                            "param_name"  => "mc1_el",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Excerpt length',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "25",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Results module",
                        ),
                        array(
                            "param_name" => "results_limit",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => "Posts limit",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "4",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open posts in new tab",
                            "description" => "The posts will be opened in a new tab. This option adds target blank on image thumb and post title links.",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Results module",
                        ),
                        array(
                            "param_name"  => "modules_on_row",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '100%',
                                '2'  => '50%',
                                '3'  => '33.33333333%',
                                '4'  => '25%',
                                '5'  => '20%',
                                '6'  => '16.66666667%',
                                '7'  => '14.28571428%',
                                '8'  => '12.5%',
                                '9'  => '11.11111111%',
                                '10' => '10%',
                            ),
                            "heading"     => 'Modules per row',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                        ),
                        array(
                            "param_name"  => "modules_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "22",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                        ),
                        array(
                            "param_name"  => "m_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Modules padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
                        ),
                        array(
                            "param_name"  => "all_modules_space",
                            "type"        => "textfield-responsive",
                            "value"       => '36',
                            "heading"     => 'Modules bottom space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "36",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Results module',
                        ),
                        array(
                            "param_name"  => "modules_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
                        ),
                        array(
                            "param_name"  => "modules_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "modules_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Results module',
                        ),
                        array(
                            "param_name"  => "modules_divider",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Modules divider',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Modules divider color',
                            "param_name"  => "modules_divider_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Results module',
                        ),
                        array(
                            "param_name"  => "h_effect",
                            "type"        => "dropdown",
                            "value"       => array(
                                'None'   => '',
                                'Shadow'  => 'shadow',
                                'Move up & shadow'  => 'up-shadow',
                            ),
                            "heading"     => 'Hover effect',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article image',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
                        ),
                        array(
                            'param_name'  => 'image_alignment',
                            'type'        => 'range-responsive',
                            'value'       => '50',
                            'heading'     => 'Image V alignment',
                            'description' => '0 - Top / 50 - Center / 100 - Bottom',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
                        ),
                        array(
                            "param_name"  => "image_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image height (percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
                        ),
                        array(
                            "param_name"  => "image_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image width (0-100 percent)',
                            "description" => "Default value in percent",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
                        ),
                        array(
                            "param_name"  => "image_floated",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Normal'      => 'no_float',
                                'Float left'  => 'float_left',
                                'Float right' => 'float_right',
                                'Hidden'      => 'hidden',
                            ),
                            "heading"     => 'Image position',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
                        ),
                        array(
                            "param_name"  => "image_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Image radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
                        ),
                        array(
                            "param_name"  => "hide_image",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide image",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article video',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Results module",
                        ),
                        array(
                            "param_name"  => "video_icon",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Results module',
                        ),
                        array(
                            "param_name"  => "show_vid_t",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show video duration',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
                        ),
                        array(
                            "param_name"  => "vid_t_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
                        ),
                        array(
                            "param_name"  => "vid_t_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Video duration padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Results module",
                        ),
                        array(
                            "param_name" => "vid_t_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration text color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
                        ),
                        array(
                            "param_name" => "vid_t_bg_color",
                            "holder"     => "div",
                            "type"       => "colorpicker",
                            'heading'    => "Video duration background color",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Results module',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_vid_time', true, 'Video duration text', 'Results module' ),
                    td_config::get_map_exclusive_label_array('', false, 'Results module'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article meta info',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "meta_info_align",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Default' => '',
                                'Top'     => 'initial',
                                'Center'  => 'center',
                                'Bottom'  => 'flex-end',
                            ),
                            "heading"     => 'Meta info alignment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
                        ),
                        array(
                            "param_name" => "meta_info_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Meta info horiz align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
                        ),
                        array(
                            "param_name"  => "meta_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
                        ),
                        array(
                            "param_name"  => "meta_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info margin',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
                        ),
                        array(
                            "param_name"  => "meta_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Meta info padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "13px 0px 0px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Meta info border',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "meta_info_border_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_meta_border_width.png",
                        ),
                        array(
                            "param_name"  => "meta_info_border_style",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Solid'  => '',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "meta_info_border_color",
                            "value"       => '#eaeaea',
                            "description" => '',
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "art_title",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article title space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 6px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
                        ),
                        array(
                            "param_name"  => "art_btn",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "modules_category",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Over image'  => 'image',
                            ),
                            "heading"     => 'Category tag position',
                            "description" => "Float image",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name"  => "modules_category_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag spacing',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "modules_category_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category tag padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "3px 6px 4px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
                        ),
                        array(
                            "param_name"  => "modules_cat_border",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Category border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 0px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
                        ),
                        array(
                            'param_name'  => 'modules_category_radius',
                            'type'        => 'range-responsive',
                            'value'       => '0',
                            'heading'     => 'Border radius',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '100',
                            'range_step'  => '1',
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
                        ),
                        array(
                            "param_name"  => "show_cat",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show category',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
                        ),
                        array(
                            "param_name"  => "modules_extra_cat",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Inline'      => '',
                                'Above title' => 'above',
                                'Hide' => 'hide',
                            ),
                            "heading"     => 'Show custom label',
                            "description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Author',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "show_author",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show author',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
                        ),
                        array(
                            "param_name"  => "author_photo",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show author photo",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
                        ),
                        array(
                            "param_name"  => "author_photo_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
                        ),
                        array(
                            "param_name"  => "author_photo_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
                        ),
                        array(
                            "param_name"  => "author_photo_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Author photo radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50%",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Date / Comment',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "show_date",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show date',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
                        ),
                        array(
                            "param_name"  => "show_modified_date",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show modified date",
                            "description" => "Show last modified date of the article instead of published date",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name" => "time_ago",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Enable time ago',
                            "description" => "Applicable only for posts newer than 7 days",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
                        ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago add. text',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                        ),
                        array(
                            "param_name" => "time_ago_txt_pos",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display additional text before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "Results module",
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "show_com",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show comment',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Review stars',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "show_review",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'inline-block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show review stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
                        ),
                        array(
                            "param_name"  => "review_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Review stars space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "Results module",
                            "info_img" => "",
                        ),
                        array(
                            'param_name'  => 'review_size',
                            'type'        => 'range-responsive',
                            'value'       => '2.5',
                            'heading'     => 'Review stars size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min'   => '0',
                            'range_max'   => '10',
                            'range_step'  => '0.5',
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
                        ),
                        array(
                            "param_name"  => "review_distance",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Distance between rating stars',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Results module",
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Excerpt',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "show_excerpt",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show excerpt',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
                        ),
                        array(
                            "param_name"  => "art_excerpt",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "20px 0px 0px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
                        ),
                        array(
                            "param_name"  => "excerpt_col",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1'  => '1',
                                '2' => '2',
                                '3' => '3',
                            ),
                            "heading"     => 'Article excerpt columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/layout_article_excerpt_columns.png",
                        ),
                        array(
                            "param_name"  => "excerpt_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Article excerpt columns gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "48",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "excerpt_middle",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Excerpt in middle",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Results module",
                        ),
                        array(
                            "param_name"  => "show_btn",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show button',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
                        ),
                        array(
                            "param_name"  => "btn_title",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Button text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "Read more",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
                        ),
                        array(
                            "param_name"  => "btn_margin",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0px 0px 20px 0px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
                        ),
                        array(
                            "param_name"  => "btn_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "10px 15px",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
                        ),
                        array(
                            "param_name"  => "btn_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
                        ),
                        array(
                            "param_name"  => "btn_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Button border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Results module",
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
                        ),

                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Form general background',
                            "param_name" => "form_general_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-bg-color-anim.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Search icon',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "icon_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-icon-color-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "icon_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "toggle_txt_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-stylel-text-color-anim.png",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "toggle_txt_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            'toggle_enabled_by' => 'open-form-composer',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_toggle_txt', true, 'Text', 'Style', '', '', '', '', 'open-form-composer' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Search form',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Form background',
                            "param_name" => "form_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-bg-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Form border color',
                            "param_name" => "form_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-border-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Arrow color',
                            "param_name" => "arrow_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-arrow-color-anim.png"
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('form_shadow', 'Shadow', 6, 0, 2, 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Input',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "input_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-text-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Placeholder color',
                            "param_name" => "placeholder_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-placeholder-text-color-anim.png"
                        ),
                        array(
                            'param_name' => 'placeholder_opacity',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Focus placeholder opacity',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '1',
                            'range_step' => '0.1',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-general-form-placeholder-travel-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "input_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-bg-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "input_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-border-color-anim.png"
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('input_shadow', 'Input shadow', 0, 0, 0, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Button',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "btn_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-button-text-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Hover text color',
                            "param_name" => "btn_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "btn_icon_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-button-icon-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "btn_icon_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Background color',
                            "param_name" => "btn_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-button-color-anim.png"
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Hover background color',
                            "param_name" => "btn_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Border color',
                            "param_name" => "btn_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-input-button-border-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Hover border color',
                            "param_name" => "btn_border_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('btn_shadow', 'Button shadow', 0, 0, 0, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_input', true, 'Input text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_placeholder', false, 'Placeholder text', 'Style' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Button text', 'Style' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Search results box',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "results_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-results-bg-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "results_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-results-border-color-anim.png"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Results message',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "results_msg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-message-text-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text hover color',
                            "param_name" => "results_msg_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "results_msg_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-message-bg-color-anim.png"
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "results_msg_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-message-border-color-anim.png"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_results_msg', true, 'Text', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Search results module',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Module background',
                            "param_name"  => "m_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-form-module-bg-color-anim.png"
                        ),
                        array(
                            "param_name" => "color_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Module image overlay",
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/module_image_overlay.png",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow_module', 'Module Shadow', 0, 0, 0, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Article title',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Article title text color',
                            "param_name"  => "title_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-article-title-color-anim.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Article title text hover',
                            "param_name"  => "title_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name"  => "all_underline_height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Underline size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-article-title-hover-line-anim.png"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Hover underline color',
                            "param_name"  => "all_underline_color",
                            "value"       => '#000',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/live-search-style-article-title-hover-line-color-anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Category tag',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category background',
                            "param_name"  => "cat_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category background hover',
                            "param_name"  => "cat_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category text color',
                            "param_name"  => "cat_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category text hover',
                            "param_name"  => "cat_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Category border color',
                            "param_name"  => "cat_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Category border hover',
                            "param_name"  => "cat_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'AUTHOR / DATE / COMMENT / EXCERPT',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Meta info background',
                            "param_name"  => "meta_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_background.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Author text color',
                            "param_name"  => "author_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Author text hover',
                            "param_name"  => "author_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Excerpt text color',
                            "param_name"  => "ex_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment background',
                            "param_name"  => "com_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Comment text color',
                            "param_name"  => "com_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Review stars color',
                            "param_name"  => "rev_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow_meta', 'Meta info shadow', 0, 0, 0, "Style" ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Button',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button background',
                            "param_name"  => "btn_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button background hover',
                            "param_name"  => "btn_bg_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button text color',
                            "param_name"  => "btn_txt",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button text hover',
                            "param_name"  => "btn_txt_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Button border color',
                            "param_name"  => "btn_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                            "info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Button border hover',
                            "param_name"  => "btn_border_hover",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Style',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
                    td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_header_user',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header login',
                "base" => "tdb_header_user",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_user.php',
                'tdc_style_params' => array(
                    'show_log',
                    'el_class'
                ),
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                                "logout_tdicon" => "td-icon-logout",
                                "usr_color" => "#999999",
                                "log_color" => "#999999",
                                "log_ico_color" => "#999999",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Make inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_right_anim.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_horizontal_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'User photo',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name"  => "photo_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Photo size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_image_size_anim.png",
                        ),
                        array(
                            "param_name"  => "photo_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Photo space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_image_space_anim.png",
                        ),
                        array(
                            "param_name"  => "photo_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Photo radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_image_radius_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Login / Logout links',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "show_log",
                            "type" => "dropdown",
                            "value" => array(
                                'Logout link' => '',
                                'Login link' => 'login',
                            ),
                            "heading" => 'Show',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_link_anim.png",
                        ),
                        array(
                            "param_name"  => "login_txt",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Login text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "Sign in / Join",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_login_text_anim.png",
                        ),
                        array(
                            "param_name"  => "logout_txt",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Logout text',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "Logout",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_logout_text_anim.png",
                        ),
                        array(
                            "param_name"  => "links_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Links space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "16",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_links_space_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'login_tdicon',
                            'type' => 'icon',
                            'heading' => 'Login icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_login_icon_anim.png",
                        ),
                        array(
                            'param_name' => 'logout_tdicon',
                            'type' => 'icon',
                            'heading' => 'Logout icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_logout_icon_anim.png",
                        ),
                        array(
                            "param_name" => "icon_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before' => '',
                                'After' => 'after',
                            ),
                            "heading" => 'Icons position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_icon_position_anim.png",
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "10",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_icon_size_anim.png",
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_icon_space_anim.png",
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icons align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_icon_align_anim.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'User name color',
                            "param_name"  => "usr_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_name_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'User name hover color',
                            "param_name"  => "usr_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Login/logout links color',
                            "param_name"  => "log_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_logout_text_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Login/logout links hover color',
                            "param_name"  => "log_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Login/logout icons color',
                            "param_name"  => "log_ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/login_general_icon_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Login/logout icons hover color',
                            "param_name"  => "log_ico_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_usr', true, 'User name' ),
                    td_config_helper::get_map_block_font_array( 'f_log', false, 'Login/logout links' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_header_date',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header date',
                "base" => "tdb_header_date",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_date.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                                "date_color" => "#999999"
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Make inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/date_general_right_anim.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/date_general_horizontal_anim.png",
                        ),
                        array(
                            "param_name"  => "format",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Date format',
                            "description" => "Please add double backslash to escape a character",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => td_util::get_option('tds_data_time_format') != '' ? td_util::get_option('tds_data_time_format') : "l, F j, Y",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/date_general_format_anim.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date text color',
                            "param_name"  => "date_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/date_general_color_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_date', true, 'Date text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_header_weather',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header weather',
                "base" => "tdb_header_weather",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_weather.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                                "icon_color" => "#999999",
                                "temp_color" => "#999999",
                                "loc_color" => "#999999",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name"  => "api",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'API key',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => td_util::get_option('tds_weather_key_top_menu') != '' ? td_util::get_option('tds_weather_key_top_menu') : "",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "location",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Location',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => td_util::get_option('tds_weather_location_top_menu') != '' ? td_util::get_option('tds_weather_location_top_menu') : "",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_location_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Make inline',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_align_right_animation.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_horizontal_align_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "18",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_icon_size_animation.png",
                        ),
                        array(
                            "param_name" => "icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_icon_space_animation.png",
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_icon_align_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Temperature',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "param_name" => "units",
                            "type" => "dropdown",
                            "value" => array(
                                'Celsius' => '',
                                'Fahrenheit' => 'imperial',
                            ),
                            "heading" => 'Units',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_unit_animation.png",
                        ),
                        array(
                            "param_name" => "temp_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_unit_space_animation.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_icon_color_animation.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Temperature value color',
                            "param_name"  => "temp_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_value_color_animation.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Temperature unit color',
                            "param_name"  => "unit_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_unit_color_animation.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Location text color',
                            "param_name"  => "loc_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/weather_general_city_color_animation.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_temp', true, 'Temperature value' ),
                    td_config_helper::get_map_block_font_array( 'f_unit', false, 'Temperature unit' ),
                    td_config_helper::get_map_block_font_array( 'f_loc', false, 'Location text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add( 'tdb_header_menu_favorites',
            array(
                'map_in_td_composer' => true,
                "name" => 'Header Bookmark',
                "base" => "tdb_header_menu_favorites",
                "class" => "",
                "controls" => "full",
                "category" => 'Blocks',
                'tdc_category' => 'Header shortcodes',
                'icon' => 'icon-pagebuilder-td_header_menu_favorites',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_header_menu_favorites.php',
                'tdc_style_params' => array(
                    'url',
                    'tdicon',
                    'add_txt',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "tdicon" => "td-icon-bookmark-full",
                                "inline" => "yes",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            'param_name' => 'url',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Bookmark page url',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open url in new window",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                            'group' => ''
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'icon_size',
                            'value' => '22',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '10',
                            'range_max' => '150',
                            'range_step' => '5',
                        ),
                        array(
                            'param_name' => 'icon_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Icon space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '12',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name"  => "show_count",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show' => 'flex',
                                'Hide' => 'none',
                            ),
                            "heading"     => 'Show bookmark count',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'add_txt',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Additional text',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "add_txt_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'After icon' => '',
                                'Before text' => 'before',
                            ),
                            "heading" => 'Additional text position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "horiz_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "float_block",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align block to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                            'group' => ''
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "param_name" => "icon_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Icon hover color',
                            "param_name" => "icon_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Bookmark count text color',
                            "param_name" => "count_txt_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Bookmark count background color',
                            "param_name" => "count_bg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Additional text color',
                            "param_name" => "add_txt_color",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Additional text hover color',
                            "param_name" => "add_txt_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_count', true, 'Bookmark count text' ),
                    td_config_helper::get_map_block_font_array( 'f_add', false, 'Additional text' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_mobile_menu',
            array(
                'map_in_td_composer' => true,
                "name" => 'Mobile menu',
                "base" => "tdb_mobile_menu",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_mobile_menu.php',
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                    	array(
                            "param_name" => "menu_id",
                            "type" => "dropdown",
                            "value" => $td_block_menus,
                            "heading" => 'Select menu',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_menu_general_inline_anim.png",
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_menu_general_right_anim.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_menu_general_horizontal_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Icon',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_menu_general_icon_anim.png",
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'range-responsive',
                            'value' => '27',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '60',
                            'range_step' => '1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_menu_general_icon_size_anim.png",
                        ),
                        array(
                            'param_name' => 'icon_padding',
                            'type' => 'range-responsive',
                            'value' => '2',
                            'heading' => 'Icon padding',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '4',
                            'range_step' => '0.1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_menu_general_icon_padding_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Style',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_menu_general_icon_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icon hover color',
                            "param_name"  => "icon_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                        ),
                    ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_mobile_horiz_menu',
            array(
                'map_in_td_composer' => true,
                "name" => 'Mobile horizontal menu',
                "base" => "tdb_mobile_horiz_menu",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_mobile_horiz_menu.php',
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "menu_id",
                            "type" => "dropdown",
                            "value" => $td_block_menus,
                            "heading" => 'Select menu',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_select_anim.png",
                        ),
                        array(
                            "param_name"  => "show_subcat",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Show submenu in composer",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_show_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Main menu',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_right_anim.png",
                        ),
                        array(
                            "param_name"  => "single_line",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Single line menu",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_horizontal_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "elem_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_space_anim.png",
                        ),
                        array(
                            "param_name" => "elem_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0 9px",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_padding_anim.png",
                        ),
                        array(
                            'param_name' => 'sep_tdicon',
                            'type' => 'icon',
                            'heading' => 'Separator icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_separator_anim.png",
                        ),
                        array(
                            "param_name" => "sep_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Separator icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "12",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_separator_size_anim.png",
                        ),
                        array(
                            "param_name" => "sep_icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Separator icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_separator_space_anim.png",
                        ),
                        array(
                            'param_name' => 'sep_icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Separator icon alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_separator_align_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'main_sub_tdicon',
                            'type' => 'icon',
                            'heading' => 'Sub menu icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_icon_anim.png",
                        ),
                        array(
                            "param_name" => "main_sub_icon_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Sub menu icon size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "13",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_icon_size_anim.png",
                        ),
                        array(
                            "param_name" => "main_sub_icon_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Sub menu icon space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "6",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_icon_space_anim.png",
                        ),
                        array(
                            'param_name' => 'main_sub_icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Sub menu icon alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_icon_align_anim.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Sub menu',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "sub_left",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Left position",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "-7",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_left_anim.png",
                        ),
                        array(
                            "param_name" => "sub_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Menu padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "8px 0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_padding_anim.png",
                        ),
                        array(
                            "param_name" => "submenu_align",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Submenu align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_align_anim.png",
                        ),
                        array(
                            "param_name" => "sub_align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Content align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_content_align_anim.png",
                        ),
                        array(
                            "param_name"  => "menu_up",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Display submenu above",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_vertical_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "sub_elem_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_elements_space_anim.png",
                        ),
                        array(
                            "param_name" => "sub_elem_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Elements padding",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "5px 18px",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_general_submenu_elements_padding_anim.png",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Main menu',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "bg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_style_menu_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "text_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_style_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text active & hover color ',
                            "param_name" => "text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "main_sub_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_style_submenu_icon_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Sub menu icon active & hover color',
                            "param_name" => "main_sub_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Separator icon color',
                            "param_name" => "sep_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_style_separator_color_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_elem', true, 'Elements text', 'Style' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Sub menu',
                            "value" => "",
                            "class" => "",
                            "group" => 'Style',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "sub_bg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_style_submenu_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "param_name" => "sub_text_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_style_submenu_elements_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Text active & hover color',
                            "param_name" => "sub_text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Elements background color',
                            "param_name" => "sub_elem_bg_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_horizontal_style_submenu_elements_bg_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Elements background active & hover color',
                            "param_name" => "sub_elem_bg_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Style",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('sub_shadow', 'Shadow', 4, 1, 1, 'Style'),
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Fonts',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => 'Style',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_sub_elem', true, 'Elements text', 'Style' ),
                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_mobile_search',
            array(
                'map_in_td_composer' => true,
                "name" => 'Mobile live search',
                "base" => "tdb_mobile_search",
                "class" => "",
                'tdc_category' => 'Header shortcodes',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_mobile_search.php',
                'tdc_start_values'       => base64_encode(
                    json_encode(
                        array(
                            array(
                                "inline" => "yes",
                            )
                        )
                    )
                ),
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "inline",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Make inline",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_search_general_inline_anim.png",
                        ),
                        array(
                            "param_name" => "float_right",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Align to right',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_search_general_right_anim.png",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_search_general_horizontal_anim.png",
                        ),
	                    array(
		                    "param_name" => "disable_live_search",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => "Disable Live Search",
		                    "description" => "",
		                    "holder" => "div",
		                    "class" => "",
	                    ),
                        array(
                            "param_name" => "exclude_pages",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Exclude pages",
                            "description" => "Exclude pages from live search",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "exclude_posts",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Exclude posts",
                            "description" => "Exclude posts from live search",
                            "holder" => "div",
                            "class" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Icon',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            'param_name' => 'tdicon',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_search_general_icon_anim.png",
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'range-responsive',
                            'value' => '22',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '60',
                            'range_step' => '1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_search_general_icon_size_anim.png",
                        ),
                        array(
                            'param_name' => 'icon_padding',
                            'type' => 'range-responsive',
                            'value' => '2.5',
                            'heading' => 'Icon padding',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '4',
                            'range_step' => '0.1',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_search_general_icon_padding_anim.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Style',
                            "value" => "",
                            "class" => "tdc-separator",
                            "group" => '',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                            "info_img" => "https://cloud.tagdiv.com/help/mobile_search_general_icon_color_anim.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icon hover color',
                            "param_name"  => "icon_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => '',
                        ),
                    ),
                    td_config::get_map_exclusive_label_array('', false, ''),
                    self::get_block_style()
                )
            )
        );

		/* tdb filters shortcodes */
        td_api_block::add('tdb_filters',
            array(
                'map_in_td_composer' => true,
                "name" => 'Flex Loop Filters',
                "base" => "tdb_filters",
                "class" => "",
				"category" => 'Blocks',
                'tdc_category' => 'Common page elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_filters.php',
				'tdc_style_params' => array(
                    'hide_empty',
                    'enable_on_mob',
                    'reset_show',
                    'tax_1_filter_slug_input',
                    'tax_1_filter_type',
                    'tax_1_filter_action_type',
                    'tax_2_filter_slug_input',
                    'tax_2_filter_type',
                    'tax_2_filter_action_type',
                    'tax_3_filter_slug_input',
                    'tax_3_filter_type',
                    'tax_3_filter_action_type',
                    'tax_4_filter_slug_input',
                    'tax_4_filter_type',
                    'tax_4_filter_action_type',
                    'tax_5_filter_slug_input',
                    'tax_5_filter_type',
                    'tax_5_filter_action_type',
                    'tax_6_filter_slug_input',
                    'tax_6_filter_type',
                    'tax_6_filter_action_type',
                    'tax_7_filter_slug_input',
                    'tax_7_filter_type',
                    'tax_7_filter_action_type',
                    'tax_8_filter_slug_input',
                    'tax_8_filter_type',
                    'tax_8_filter_action_type',
                    'tax_9_filter_slug_input',
                    'tax_9_filter_type',
                    'tax_9_filter_action_type',
                    'tax_10_filter_slug_input',
                    'tax_10_filter_type',
                    'tax_10_filter_action_type',
                    'hide_headers',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
								"reset_txt" => "Clear all filters",
                                "reset_tdicon" => "td-icon-modal-close",
                            )
                        )
                    )
                ),
                'params' => array_merge(
					// taxonomies fields
					self::get_tdb_filters_tax_fields(),

					// general settings
					array(
						array(
		                    "param_name" => "separator",
		                    "type"       => "text_separator",
		                    'heading'    => 'General settings',
		                    "value"      => "",
		                    "class"      => "",
		                ),
						array(
							"param_name" => "hide_empty",
							"type" => "checkbox",
							"value" => '',
							"heading" => 'Hide empty terms',
							"description" => "",
							"holder" => "div",
							"class" => ""
						),
						array(
							"param_name" => "enable_on_mob",
							"type" => "checkbox",
							"value" => '',
							"heading" => 'Enable Filters on Mobile',
							"description" => "This option will enable filters display on mobile view.",
							"holder" => "div",
							"class" => ""
						),
		                array(
		                    "param_name" => "separator",
		                    "type" => "horizontal_separator",
		                    "value" => "",
		                    "class" => "tdc-separator-small",
		                    "group" => "",
		                ),
                        array(
                            "param_name" => "order_by",
                            "type" => "dropdown",
                            "value" => array(
                                'Alphabetically' => '',
                                'Term ID' => 'id'
                            ),
                            "heading" => 'Order by',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
                        array(
                            "param_name" => "order",
                            "type" => "dropdown",
                            "value" => array(
                                'Ascending' => '',
                                'Descending' => 'DESC'
                            ),
                            "heading" => 'Order',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big"
                        ),
					),
					// block header settings
					array(
						array(
		                    "param_name" => "separator",
		                    "type"       => "text_separator",
		                    'heading'    => 'Headers',
		                    "value"      => "",
		                    "class"      => "tdc-separator-small",
		                ),
		                array(
		                    "param_name" => "block_template_id",
		                    "type" => "dropdown",
		                    "value" => td_util::get_block_template_ids(),
		                    "heading" => 'Header template:',
		                    "description" => "Header template used by the current block",
		                    "holder" => "div",
		                    "class" => "tdc-dropdown-big",
		                    "info_img" => "https://cloud.tagdiv.com/help/header_template.png",
		                ),
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
                        ),
		                array(
		                    "param_name" => "content_align_horizontal",
		                    "type" => "dropdown-responsive",
		                    "value" => array(
		                        'Default' => 'layout-default',
		                        'Left' => 'content-horiz-left',
		                        'Center' => 'content-horiz-center',
		                        'Right' => 'content-horiz-right'
		                    ),
		                    "heading" => 'Headers align',
		                    "description" => "",
		                    "holder" => "div",
		                    'tdc_dropdown_images' => true,
		                    "class" => "tdc-visual-selector tdc-add-class",
		                ),
		                array(
		                    'param_name' => 'label_space',
		                    'type' => 'textfield-responsive',
		                    'value' => '',
		                    'heading' => 'Headers bottom space',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'placeholder' => '',
		                    "group"      => ""
		                ),
                        array(
                            "param_name" => "hide_headers",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Hide headers',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group"      => ""
                        ),
					),
                    td_config_helper::get_map_block_font_array( 'f_label', true, 'Headers text' ),

					array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Filters',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            "param_name" => "filters_bg",
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Filters background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            'param_name' => 'filters_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Filters padding',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'filters_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Filters border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '0',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'filters_bottom_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Filters bottom space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '25',
                            "group"      => ""
                        ),
                        array(
                            "param_name" => "filters_layout",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Vertical' => '',
                                'Horizontal' => 'horizontal',
                            ),
                            "heading" => 'Filters layout',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "filters_horiz_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Start' => 'flex-start',
                                'Center' => 'center',
                                'End' => 'flex-end',
                                'Space between' => 'space-between',
                                'Space evenly' => 'space-evenly',
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-flex-selector tdc-flex-row-horiz-align tdc-add-class",
                            'group' => '',
                        ),
                        array(
                            "param_name" => "filters_wrap",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Stay on one line (nowrap)' => '',
                                'Multiple lines (wrap)' => 'wrap',
                            ),
                            "heading" => 'Filters wrap',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'filters_width',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Filters maxim width',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '',
                            "group"      => ""
                        ),
						// custom fields
						//array(
						//    "param_name" => "separator",
						//    "type" => "text_separator",
						//    'heading' => 'Custom Fields',
						//    "value" => "",
						//    "class" => "tdc-separator",
						//    "group" => '',
						//),
						//array(
						//	"param_name" => "tdb_filter_type_header",
						//	"type" => "tdb_filter_type_header",
						//	"heading" => "Custom Field slug",
						//	"value" => "",
						//	"class" => "",
						//),
						//array(
						//	'param_name' => 'cf_1_filter_slug_input',
						//	'type' => 'textfield-responsive',
						//	'value' => '',
						//	'heading' => '',
						//	'description' => '',
						//	'class' => 'tdc-textfield-big tdc-filter-controller tdc-filter-type',
						//	'placeholder' => '',
						//	"group" => ""
						//),
						//array(
						//	"param_name"  => "cf_1_filter_type",
						//	"type"        => "dropdown",
						//	"value"       => array(
						//		'Default'    => '',
						//		'Button'     => 'button',
						//		'Color'      => 'color',
						//		'Image'      => 'image',
						//	),
						//	"heading"     => '1st custom field filter type',
						//	"description" => "Option to change filter type. The button type will be used as default type.",
						//	"holder"      => "div",
						//	"class"       => "tdc-filter-controller tdc-filter-type",
						//	"group"       => "",
						//),
						// post type
						//array(
						//    "param_name" => "separator",
						//    "type" => "text_separator",
						//    'heading' => 'Post Type',
						//    "value" => "",
						//    "class" => "tdc-separator",
						//    "group" => '',
						//),
						//array(
						//	"param_name" => "tdb_filter_type_header",
						//	"type" => "tdb_filter_type_header",
						//	"heading" => "Post Type slug",
						//	"value" => "",
						//	"class" => "",
						//),
						//array(
						//	'param_name' => 'post_type_filter_slug_input',
						//	'type' => 'textfield-responsive',
						//	'value' => '',
						//	'heading' => '',
						//	'description' => '',
						//	'class' => 'tdc-textfield-big tdc-filter-controller tdc-filter-type',
						//	'placeholder' => '',
						//	"group" => ""
						//),
						//array(
						//	"param_name"  => "post_type_filter_type",
						//	"type"        => "dropdown",
						//	"value"       => array(
						//		'Default'    => '',
						//		'Button'     => 'button',
						//		'Color'      => 'color',
						//		'Image'      => 'image',
						//	),
						//	"heading"     => '1st tax filter type',
						//	"description" => "Option to change filter type. The button type will be used as default type.",
						//	"holder"      => "div",
						//	"class"       => "tdc-filter-controller tdc-filter-type",
						//	"group"       => "",
						//),
                    ),
                    td_config_helper::get_map_block_shadow_array('filters_shadow', 'Filters shadow', 0, 0, 0, ''),

					// filters count
					array(
		                array(
		                    "param_name" => "separator",
		                    "type"       => "text_separator",
		                    'heading'    => 'Filters count',
		                    "value"      => "",
		                    "class"      => "",
		                    "group"      => ""
		                ),
		                array(
		                    "param_name" => "show_count",
		                    "type" => "checkbox",
		                    "value" => '',
		                    "heading" => 'Show terms count',
		                    "description" => "This option will enable the display the count of available results (posts) for each term",
		                    "holder" => "div",
		                    "class" => ""
		                ),
		                array(
		                    'param_name' => 'count_padd',
		                    'type' => 'textfield-responsive',
		                    'value' => '',
		                    'heading' => 'Padding',
		                    'description' => '',
		                    'class' => 'tdc-textfield-big',
		                    'placeholder' => '0 5px',
		                    "group"      => ""
		                ),
		                array(
		                    'param_name' => 'count_horiz',
		                    'type' => 'range-responsive',
		                    'value' => '0',
		                    'heading' => 'Horizontal align',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'range_min' => '-30',
		                    'range_max' => '30',
		                    'range_step' => '1',
		                    "group" => "",
		                ),
		                array(
		                    'param_name' => 'count_vert',
		                    'type' => 'range-responsive',
		                    'value' => '0',
		                    'heading' => 'Vertical align',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'range_min' => '-30',
		                    'range_max' => '30',
		                    'range_step' => '1',
		                    "group" => "",
		                ),
		                array(
		                    'param_name' => 'count_radius',
		                    'type' => 'textfield-responsive',
		                    'value' => '',
		                    'heading' => 'Border radius',
		                    'description' => '',
		                    'class' => 'tdc-textfield-small',
		                    'placeholder' => '30',
		                    "group"      => ""
		                ),
		                array(
		                    "param_name" => "count_txt_color",
		                    "type" => "colorpicker",
		                    "holder" => "div",
		                    "class" => "tdc-colorpicker-double-a",
		                    "heading" => 'Text color',
		                    "value" => '#ffffff',
		                    "description" => '',
		                    "group"      => "",
		                ),
		                array(
		                    "param_name" => "count_txt_color_h",
		                    "type" => "colorpicker",
		                    "holder" => "div",
		                    "class" => "tdc-colorpicker-double-b",
		                    "heading" => 'Text hover color',
		                    "value" => '',
		                    "description" => '',
		                    "group"      => "",
		                ),
		                array(
		                    "param_name" => "count_bg_color",
		                    "type" => "colorpicker",
		                    "holder" => "div",
		                    "class" => "tdc-colorpicker-double-a",
		                    "heading" => 'Background color',
		                    "value" => '#4db2ec',
		                    "description" => '',
		                    "group"      => "",
		                ),
		                array(
		                    "param_name" => "count_bg_color_h",
		                    "type" => "colorpicker",
		                    "holder" => "div",
		                    "class" => "tdc-colorpicker-double-b",
		                    "heading" => 'Background hover color',
		                    "value" => '',
		                    "description" => '',
		                    "group"      => "",
		                ),
		            ),
                    td_config_helper::get_map_block_font_array( 'f_count', true, 'Count text' ),

					// reset button
					array(
						array(
							"param_name" => "separator",
							"type"       => "text_separator",
							'heading'    => 'Reset filters button',
							"value"      => "",
							"class"      => "",
							"group"      => ""
						),
						array(
							"param_name" => "reset_show",
							"type" => "checkbox",
							"value" => '',
							"heading" => 'Show in composer',
							"description" => "",
							"holder" => "div",
							"class" => ""
						),
						array(
							"param_name" => "separator",
							"type"       => "text_separator",
							'heading'    => 'Button style',
							"value"      => "",
							"class"      => "tdc-separator-small",
							"group"      => ""
						),
						array(
							"param_name" => "reset_full",
							"type" => "checkbox-responsive",
							"value" => '',
							"heading" => 'Full button',
							"description" => "",
							"holder" => "div",
							"class" => ""
						),
						array(
							"param_name" => "reset_horizontal",
							"type" => "dropdown-responsive",
							"value" => array(
								'Default' => 'layout-default',
								'Left' => 'content-horiz-left',
								'Center' => 'content-horiz-center',
								'Right' => 'content-horiz-right'
							),
							"heading" => 'Align',
							"description" => "",
							"holder" => "div",
							'tdc_dropdown_images' => true,
							"class" => "tdc-visual-selector tdc-add-class",
						),
						array(
							'param_name' => 'reset_padd',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Padding',
							'description' => '',
							'class' => 'tdc-textfield-big',
							'placeholder' => '9px 9px 9px 9px',
							"group"      => ""
						),
						array(
							'param_name' => 'reset_border',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Border size',
							'description' => '',
							'class' => 'tdc-textfield-small',
							'placeholder' => '1',
							"group"      => ""
						),
						array(
							'param_name' => 'reset_radius',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Border radius',
							'description' => '',
							'class' => 'tdc-textfield-big',
							'placeholder' => '0',
							"group"      => ""
						),
						array(
							"param_name" => "reset_border_color",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-a",
							"heading" => 'Border color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "reset_border_color_h",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-b",
							"heading" => 'Border hover color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "separator",
							"type" => "horizontal_separator",
							"value" => "",
							"class" => "tdc-separator-small",
							"group" => "",
						),
						array(
							'param_name' => 'reset_txt',
							'type' => 'textfield',
							'value' => '',
							'heading' => 'Text',
							'description' => '',
							'class' => 'tdc-textfield-big',
							'placeholder' => 'Clear all filters',
							"group"      => ""
						),
						array(
							"param_name" => "reset_bg",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-a",
							"heading" => 'Background color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "reset_bg_h",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-b",
							"heading" => 'Background hover color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "reset_color",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-a",
							"heading" => 'Text color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "reset_color_h",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-b",
							"heading" => 'Text hover color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							'param_name' => 'reset_txt_space',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Text space',
							'description' => '',
							'class' => 'tdc-textfield-small',
							'placeholder' => '9',
							"group"      => ""
						),
						array(
							'param_name' => 'reset_space',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Bottom space',
							'description' => '',
							'class' => 'tdc-textfield-small',
							'placeholder' => '25',
							"group"      => ""
						),
						array(
							"param_name" => "separator",
							"type" => "horizontal_separator",
							"value" => "",
							"class" => "tdc-separator-small",
							"group" => "",
						),
						array(
							'param_name' => 'reset_tdicon',
							'type' => 'icon',
							'heading' => 'Icon',
							'class' => 'tdc-textfield-small',
							'value' => '',
						),
						array(
							'param_name' => 'reset_icon_size',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Icon size',
							'description' => '',
							'class' => 'tdc-textfield-small',
							'placeholder' => '10',
							"group"      => ""
						),
						array(
							"param_name" => "reset_icon_color",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-a",
							"heading" => 'Icon color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "reset_icon_color_h",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "tdc-colorpicker-double-b",
							"heading" => 'Icon hover color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
					),
                    td_config_helper::get_map_block_font_array( 'f_reset', true, 'Button text' ),

                    // mobile filters button
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Mobile filters button',
                            "value"      => "",
                            "class"      => "",
                            "group"      => ""
                        ),
                        array(
                            "param_name" => "fmob_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "fmob_ico_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Icon color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('fmob_shadow', 'Button shadow', 8, 2, 3 ),

                    // style
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Colors',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'color_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '26',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'color_margin',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Margin',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0 10px 0 0',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'color_padd',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Padding',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '4',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'all_color_border',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '1',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'all_color_border_s',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Selected option border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '2',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'color_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "color_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "color_bg_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected item background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "all_color_border_c",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "all_color_border_c_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected item border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Buttons',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'but_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '30',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'but_margin',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Margin',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0 10px 0 0',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'but_padd',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Padding',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0 5px',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'all_but_border',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '1',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'all_but_border_s',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Selected option border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '2',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'but_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "but_txt",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "but_txt_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected item text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "but_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "but_bg_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected item background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "all_but_border_c",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "all_but_border_c_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected item border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_but', true, 'Button text', 'Filters style' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Images',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "img_display",
                            "type" => "dropdown",
                            "value" => array(
                                'Inline images' => '',
                                'Image and text' => 'img_txt',
                            ),
                            "heading" => 'Display',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'img_margin',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Margin',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0 5px 5px 0',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            'param_name' => 'img_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Image height',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '48',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'img_padd',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Image padding',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '4',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'all_img_border',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Image border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '1',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'all_img_border_s',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Selected image border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '2',
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'img_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Image border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            'param_name' => 'img_txt_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Text space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '10',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "img_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Image background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "img_bg_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected image background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "all_img_border_c",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Image border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "all_img_border_c_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected image border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "img_txt_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "img_txt_color_s",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Selected item text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_img', true, 'Text', 'Filters style' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Dropdowns',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "Filters style"
                        ),
                        array(
                            'param_name' => 'drop_padding',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Padding',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '9px 9px 9px 9px',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            'param_name' => 'drop_arrow_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Arrow size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '14',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            'param_name' => 'drop_border',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '1',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "drop_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Filters style",
                        ),
                        array(
                            'param_name' => 'drop_border_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            "param_name" => "drop_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Dropdown list height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "277",
                            "group" => "Filters style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "Filters style"
                        ),
                        array(
                            "param_name" => "drop_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "drop_arrow_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Arrow color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "drop_bg_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "drop_bg_color_f",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Focus background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "drop_border_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "drop_border_color_f",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Focus border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "Filters style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Multi select option background color',
                            "param_name" => "multi_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Filters style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Multi select option text color',
                            "param_name" => "multi_color",
                            "value" => '',
                            "description" => '',
                            "group" => "Filters style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Dropdown option hover color',
                            "param_name" => "option_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Filters style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Dropdown option hover background',
                            "param_name" => "option_bg_h",
                            "value" => '',
                            "description" => '',
                            "group" => "Filters style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Checkbox background color',
                            "param_name" => "option_check_bg",
                            "value" => '',
                            "description" => '',
                            "group" => "Filters style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Checkbox border color',
                            "param_name" => "option_check_border",
                            "value" => '',
                            "description" => '',
                            "group" => "Filters style",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Checkbox square color',
                            "param_name" => "option_check_square",
                            "value" => '',
                            "description" => '',
                            "group" => "Filters style",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "Filters style",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_drop', true, 'Dropdowns text', 'Filters style' ),

                    self::get_block_style()
                )
            )
        );

		td_api_block::add( 'tdb_filters_loop',
			array(
				'map_in_td_composer' => true,
				"name" => 'Flex Loop',
				"base" => "tdb_filters_loop",
				"class" => "",
				"category" => 'Blocks',
				'tdc_category' => 'Common page elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_filters_loop.php',
                'tdc_style_params' => array(
                    'custom_title',
                    'custom_url',
                    'sort',
                    'ajax_pagination',
                    'ajax_pagination_infinite_stop',
                    'single_product_page_filter',
                    'limit',
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "ajax_pagination" => "numbered",

                                'tds_module_flex_1_style-modules_on_row' => 'eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==',
                                "tds_module_flex_1_style-modules_gap" => 'eyJsYW5kc2NhcGUiOiI0MCIsInBvcnRyYWl0IjoiMjgifQ==',
                                'tds_module_flex_1_style-modules_category' => 'image',
                                'tds_module_flex_1_style-show_excerpt' => 'none',
                                'tds_module_flex_1_style-show_btn' => 'none',
                                "tds_module_flex_1_style-hide_audio" => "yes",

                                "tds_module_flex_2_style-art_title_pos" => "bottom",
                                "tds_module_flex_2_style-info_pos" => "bottom",
                                "tds_module_flex_2_style-art_excerpt_pos" => "bottom",
                                "tds_module_flex_2_style-art_audio_pos" => "bottom",
                                "tds_module_flex_2_style-modules_category" => "image",
                                "tds_module_flex_2_style-btn_pos" => "bottom",
                                "tds_module_flex_2_style-hide_audio" => "yes"
                            ),
                        )
                    )
                ),
				'params' => array_merge(
                    td_config::get_map_block_general_array(),
                    array(
                        array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
                    array(
						array(
							"param_name" => "separator",
							"type"       => "text_separator",
							'heading'    => 'Extra',
							"value"      => "",
							"class"      => "",
						),
						array(
							"param_name" => "limit",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Limit post number:',
							"description" => "If the field is empty all products will be displayed",
							"holder" => "div",
							"class" => "tdc-textfield-small",
						),
						array(
							"param_name" => "offset",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Offset posts:',
							"description" => "Start the count with an offset",
							"holder" => "div",
							"class" => "tdc-textfield-small",
							"group"      => ''
						),
                         array(
                            "param_name" => "open_in_new_window",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open posts in new tab",
                            "description" => "The posts will be opened in a new tab. This option adds target blank on image thumb and post title links.",
                            "holder" => "div",
                            "class" => ""
                        ),
						array(
							"param_name" => "post_ids",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Exclude Post ID\'s:',
							"description" => "Filter multiple posts by ID. Enter here the post IDs separated by commas (ex: 10,27,233). To exclude posts add them with '-' (ex: -7, -16)",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
                        array(
							"param_name" => "include_cf_posts",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Include custom field:',
                            "description" => "Include posts by specific Custom Field ( ACF true_false type ). If the CF meta value is true the post will be displayed on block.",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
                        array(
							"param_name" => "exclude_cf_posts",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Exclude custom field:',
                            "description" => "Exclude posts by specific Custom Field ( ACF true_false type ). If the CF meta value is true the post will be excluded.",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
						// sort
						array(
							"param_name" => "sort",
							"type" => "dropdown",
							"value" => array(
								'- Latest -' => '',
                                'Oldest posts' => 'oldest_posts',
                                'Modified date' => 'modified_date',
                                'Alphabetical A -> Z' => 'alphabetical_order',
                                'Most Commented' => 'comment_count'
							),
							"heading" => 'Sort order:',
							"description" => "How to sort the posts.",
							"holder" => "div",
							"class" => "tdc-dropdown-big",
							'group' => ''
						),
						// post type
						array(
			                "param_name" => "installed_post_types",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => 'Post Type:',
			                "description" => "Filter by post types. Usage: post, page, event - Write 1 or more post types delimited by commas",
			                "holder" => "div",
			                "class" => "tdc-textfield-big"
			            ),
						// pagination
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "",
                            "group"       => ''
                        ),
						array(
							"param_name" => "ajax_pagination",
							"type" => "dropdown",
							"value" => array(
								'- No pagination -' => '',
								'Normal numbered' => 'numbered',
								'Next Prev ajax' => 'next_prev',
								'Load More button' => 'load_more',
								'Infinite load' => 'infinite'
							),
							"heading" => 'Pagination:',
							"description" => "Our blocks support pagination.",
							"holder" => "div",
							"class" => "tdc-dropdown-big",
							'group' => ''
						),
						array(
							"param_name" => "ajax_pagination_infinite_stop",
							"type" => "textfield",
							"value" => '',
							"heading" => "Infinite load show 'Load more' after x pages:",
							"description" => "ONLY FOR INFINITE LOAD pagination: Shows 'load more' button after x number of pages. Leave this blank to load products forever when infinite load is set for ajax pagination",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "pag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Top space',
                            "description" => "",
                            "placeholder" => "54",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
                        ),
                        array(
                            "param_name"  => "pag_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
                        ),
                        array(
                            "param_name"  => "pag_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
                        ),
                        array(
                            "param_name"  => "pag_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'prev_tdicon',
                            'type' => 'icon',
                            'heading' => 'Prev icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            'param_name' => 'next_tdicon',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            "param_name"  => "pag_icons_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icons size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Text color',
                            "param_name"  => "pag_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "pag_h_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active text color',
                            "param_name"  => "pag_a_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Background color',
                            "param_name"  => "pag_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "pag_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active background color',
                            "param_name"  => "pag_a_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Border color',
                            "param_name"  => "pag_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "pag_h_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active border color',
                            "param_name"  => "pag_a_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_pag', false, 'Pagination text' ),
                    array(

                        array(
                            "param_name" => "tds_module_loop_style",
                            "type" => "dropdown",
                            "value" => td_api_style::get_styles_for_mapping( 'tds_module_loop_style', false ),
                            "heading" => 'Module style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "Module",
                        ),

						array(
							'param_name' => 'css',
							'value' => '',
							'type' => 'css_editor',
							'heading' => 'Css',
							'group' => 'Design options',
						),
						array(
							'param_name' => 'tdc_css',
							'value' => '',
							'type' => 'tdc_css_editor',
							'heading' => '',
							'group' => 'Design options',
						),
					),

//	                self::get_block_style()
				),
			)
		);

		td_api_block::add( 'tdb_filters_loop_sorting_options',
			array(
				'map_in_td_composer' => true,
				"name" => 'Flex Loop Sorting Options',
				"base" => "tdb_filters_loop_sorting_options",
				"category" => 'Blocks',
				'tdc_category' => 'Common page elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_filters_loop_sorting_options.php',
				'tdc_style_params' => array(
					'oldest_posts',
					'modified_date',
					'alphabetical_order',
					'el_class'
				),
				'tdc_start_values' => base64_encode(
					json_encode(
						array(
							array(
								"vert_align" => "middle",
							),
						)
					)
				),
				"params" => array_merge(
					// sorting options
					self::get_tdb_filters_loop_sorting_options(),
					array(
						array(
							"param_name" => "separator",
							"type"       => "text_separator",
							'heading'    => 'Layout',
							"value"      => "",
							"class"      => "",
						),
						array(
							"param_name" => "drop_horiz",
							"type" => "dropdown-responsive",
							"value" => array(
								'Default' => 'layout-default',
								'Left' => 'content-horiz-left',
								'Center' => 'content-horiz-center',
								'Right' => 'content-horiz-right'
							),
							"heading" => 'Headers align',
							"description" => "",
							"holder" => "div",
							'tdc_dropdown_images' => true,
							"class" => "tdc-visual-selector tdc-add-class",
						),
						array(
							'param_name' => 'drop_width',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Width',
							'description' => '',
							'class' => 'tdc-textfield-small',
							'placeholder' => '280'
						),
						array(
							'param_name' => 'drop_padding',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Padding',
							'description' => '',
							'class' => 'tdc-textfield-big',
							'placeholder' => '5px 9px'
						),
						array(
							"param_name" => "separator",
							"type" => "horizontal_separator",
							"value" => "",
							"class" => "tdc-separator-small",
							"group" => "",
						),
						array(
							'param_name' => 'drop_arrow_size',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Arrow size',
							'description' => '',
							'class' => 'tdc-textfield-small',
							'placeholder' => '14'
						),
						array(
							"param_name" => "separator",
							"type" => "horizontal_separator",
							"value" => "",
							"class" => "tdc-separator-small",
							"group" => "",
						),
						array(
							'param_name' => 'drop_border',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Border size',
							'description' => '',
							'class' => 'tdc-textfield-big',
							'placeholder' => '1'
						),
						array(
							"param_name" => "drop_border_style",
							"type" => "dropdown-responsive",
							"value" => array(
								'Solid' => '',
								'Dashed' => 'dashed',
								'Dotted' => 'dotted',
								'Double' => 'double',
							),
							"heading" => 'Border style',
							"description" => "",
							"holder" => "div",
							"class" => "tdc-dropdown-big",
							"group" => "",
						),
						array(
							'param_name' => 'drop_border_radius',
							'type' => 'textfield-responsive',
							'value' => '',
							'heading' => 'Border radius',
							'description' => '',
							'class' => 'tdc-textfield-big',
							'placeholder' => '0'
						),
						array(
							"param_name" => "separator",
							"type"       => "text_separator",
							'heading'    => 'Style',
							"value"      => "",
							"class"      => "",
						),
						array(
							"param_name" => "drop_color",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "",
							"heading" => 'Text color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "drop_arrow_color",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "",
							"heading" => 'Arrow color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "drop_bg_color",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "td-colorpicker-double-a",
							"heading" => 'Background color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "drop_bg_color_f",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "td-colorpicker-double-b",
							"heading" => 'Focus background color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "drop_border_color",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "td-colorpicker-double-a",
							"heading" => 'Border color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "drop_border_color_f",
							"type" => "colorpicker",
							"holder" => "div",
							"class" => "td-colorpicker-double-b",
							"heading" => 'Focus border color',
							"value" => '',
							"description" => '',
							"group"      => "",
						),
						array(
							"param_name" => "separator",
							"type"       => "text_separator",
							'heading'    => 'Fonts',
							"value"      => "",
							"class"      => "tdc-separator-small",
						),
					),
					td_config_helper::get_map_block_font_array( 'f_drop', true, 'Dropdowns text' ),
					self::get_block_style()
				)
			)
		);

		td_api_block::add( 'tdb_filters_list',
			array(
				'map_in_td_composer' => true,
				"name" => 'Flex Loop Active Filters List',
				"base" => "tdb_filters_list",
				"class" => "",
				"category" => 'Blocks',
                'tdc_category' => 'Common page elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_filters_list.php',
				'tdc_style_params' => array(
                    'el_class'
                ),
				'params' => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'but_wrap_padd',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Container space',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '',
                            "group"      => ""
                        ),
                        array(
                            "param_name" => "filters_horiz_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Start' => 'flex-start',
                                'Center' => 'center',
                                'End' => 'flex-end',
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-flex-selector tdc-flex-row-horiz-align tdc-add-class tdc-img-right",
                            'group' => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Filters Layout',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'close_tdicon',
                            'type' => 'icon',
                            'heading' => 'Close icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "info_img" => "",
                        ),
                        array(
                            'param_name' => 'icon_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Icon size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '11',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'icon_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                        ),
                        array(
                            'param_name' => 'icon_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Icon space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '8',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'but_margin',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Margin',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '3px 6px 3px 0',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'but_padd',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Padding',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '8px 10px',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'all_but_border',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '1',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'all_but_border_s',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Hover border size',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '2',
                            "group"      => ""
                        ),
                        array(
                            'param_name' => 'but_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group"      => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => ""
                        ),
                        array(
                            "param_name" => "but_txt",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "but_txt_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Hover text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "but_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "but_bg_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Hover background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "all_but_border_c",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Border color',
                            "value" => '#dfdfdf',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "all_but_border_c_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Hover border color',
                            "value" => '#444444',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "close_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "close_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "td-colorpicker-double-b",
                            "heading" => 'Hover icon color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_but', true, 'Text', '' ),
                    self::get_block_style()
				),
			)
		);

		/* cloud templates modules flex block */
		td_api_block::add( 'tdb_flex_block_builder',
            array(
                'map_in_visual_composer' => false,
                'map_in_td_composer'     => true,
                "name"                   => 'Flex Block Builder',
                "base"                   => 'tdb_flex_block_builder',
                "class"                  => 'tdb_flex_block_builder',
                "controls"               => "full",
                "category"               => 'Blocks',
                'tdc_category'           => 'Blocks',
                'icon'                   => 'icon-pagebuilder-tdb_flex_block_builder',
                'file'                   => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_flex_block_builder.php',
                'tdc_style_params'       => array(
                    'custom_title',
                    'custom_url',
                    'cloud_tpl_module_id',
                    'offset',
                    'limit',
                    'post_ids',
                    'category_id',
                    'taxonomies',
                    'category_ids',
                    'in_all_terms',
                    'tag_slug',
                    'autors_id',
                    'installed_post_types',
                    'sort',
                    'locked_only',
                    'td_ajax_filter_type',
                    'td_ajax_filter_ids',
                    'td_filter_default_txt',
                    'td_ajax_preloading',
                    'ajax_pagination',
                    'ajax_pagination_next_prev_swipe',
                    'ajax_pagination_infinite_stop',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "limit" => '3',
                            ),
                        )
                    )
                ),
                "params" => array_merge(
                    td_config::get_map_block_general_array(),
                     array(
                         array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array('f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', ''),
		            td_config_helper::get_map_block_font_array('f_ajax', false, 'Ajax categories', '', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', ''),

					// block filters
                    td_config::get_map_filter_array( 'Filter', true, 'td_flex_block_mct' ),

					// block cache
					array(
						array(
						    "param_name" => "separator",
						    "type"       => "text_separator",
						    'heading'    => 'Cache',
						    "value"      => "",
						    "class"      => "",
						),
						array(
						    "param_name"  => "td_query_cache",
						    "type"        => "checkbox",
						    "value"       => '',
						    "heading"     => "Cache block results",
						    "description" => "If enabled the block output will be cached",
						    "holder"      => "div",
						    "class"       => "",
						    "toggle_enable_params" => 'td_query_cache',
						),
						array(
						    "param_name" => "td_query_cache_expiration",
						    "type" => "dropdown-responsive",
						    "value"       => array(
		                        '1 minute'  => '',
								'5 minutes'  => 5 * MINUTE_IN_SECONDS,
		                        '10 minutes'  => 10 * MINUTE_IN_SECONDS,
		                        '30 minutes'  => 30 * MINUTE_IN_SECONDS,
		                        '1 hour'  => 60 * MINUTE_IN_SECONDS,
		                        '1 day'  => 24 * HOUR_IN_SECONDS,
		                        '1 week'  => 7 * DAY_IN_SECONDS,
		                    ),
						    "heading" => 'Cache expiration',
						    "description" => "The block cache expiration time in seconds. Note that cache will be cleard when block's settings change.",
						    "holder" => "div",
						    "class" => "tdc-dropdown-big",
						    "toggle_enabled_by" => 'td_query_cache',
						),
					),

					// block ajax filters
                    td_config::get_map_block_ajax_filter_array(),

					// block pagination
                    td_config::get_map_block_pagination_array( 'td_flex_block_mct' ),

                    self::get_map_block_module_tpl_params_array('Module'),

                    array(
                        array (
                            'param_name' => 'css',
                            'value' => '',
                            'type' => 'css_editor',
                            'heading' => 'Css',
                            'group' => 'Design options',
                        ),
                        array (
                            'param_name' => 'tdc_css',
                            'value' => '',
                            'type' => 'tdc_css_editor',
                            'heading' => '',
                            'group' => 'Design options',
                        ),
                    )
                )
            )
        );

		/* cloud templates modules flex loop */
		td_api_block::add( 'tdb_flex_loop_builder',
			array(
				'map_in_td_composer' => true,
				"name" => 'Flex Loop Builder',
				"base" => "tdb_flex_loop_builder",
				"class" => "",
				"category" => 'Blocks',
				'tdc_category' => 'Common page elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/common/tdb_flex_loop_builder.php',
                'tdc_style_params' => array(
                    'custom_title',
                    'custom_url',
                    'sort',
                    'ajax_pagination',
                    'ajax_pagination_infinite_stop',
                    'single_product_page_filter',
                    'limit',
                    'offset',
                    'el_class'
                ),
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "ajax_pagination" => "numbered",
                                "limit" => '3',
                            ),
                        )
                    )
                ),
				'params' => array_merge(
                    td_config::get_map_block_general_array(),
                    array(
                         array(
                            "param_name" => "title_tag",
                            "type" => "dropdown",
                            "value" => array(
                                'Default - H4' => '',
                                'H1' => 'h1',
                                'H2' => 'h2',
                                'H3' => 'h3',
                                'Div' => 'div'
                            ),
                            "heading" => 'Title tag (SEO)',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array('f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', ''),

                    array(
						array(
							"param_name" => "separator",
							"type"       => "text_separator",
							'heading'    => 'Extra',
							"value"      => "",
							"class"      => "",
						),
						array(
							"param_name" => "limit",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Limit post number:',
							"description" => "If the field is empty all products will be displayed",
							"holder" => "div",
							"class" => "tdc-textfield-small",
						),
						array(
							"param_name" => "offset",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Offset posts:',
							"description" => "Start the count with an offset",
							"holder" => "div",
							"class" => "tdc-textfield-small",
							"group"      => ''
						),
						array(
							"param_name" => "post_ids",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Exclude Post ID\'s:',
							"description" => "Filter multiple posts by ID. Enter here the post IDs separated by commas (ex: 10,27,233). To exclude posts add them with '-' (ex: -7, -16)",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
                        array(
							"param_name" => "include_cf_posts",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Include custom field:',
                            "description" => "Include posts by specific Custom Field ( ACF true_false type ). If the CF meta value is true the post will be displayed on block.",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
                        array(
							"param_name" => "exclude_cf_posts",
							"type" => "textfield",
							"value" => '',
							"heading" => 'Exclude custom field:',
                            "description" => "Exclude posts by specific Custom Field ( ACF true_false type ). If the CF meta value is true the post will be excluded.",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
						// sort
						array(
							"param_name" => "sort",
							"type" => "dropdown",
							"value" => array(
								'- Latest -' => '',
                                'Oldest posts' => 'oldest_posts',
                                'Modified date' => 'modified_date',
                                'Alphabetical A -> Z' => 'alphabetical_order',
                                'Most Commented' => 'comment_count',
                                'Highest rated (user reviews)' => 'user_reviews_high',
                                'Lowest rated (user reviews)' => 'user_reviews_low'
							),
							"heading" => 'Sort order:',
							"description" => "How to sort the posts.",
							"holder" => "div",
							"class" => "tdc-dropdown-big",
							'group' => ''
						),
						// post type
						array(
			                "param_name" => "installed_post_types",
			                "type" => "textfield",
			                "value" =>  '',
			                "heading" => 'Post Type:',
			                "description" => "Filter by post types. Usage: post, page, event - Write 1 or more post types delimited by commas",
			                "holder" => "div",
			                "class" => "tdc-textfield-big"
			            ),
						// pagination
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Pagination',
                            "value"      => "",
                            "class"      => "",
                            "group"       => ''
                        ),
						array(
							"param_name" => "ajax_pagination",
							"type" => "dropdown",
							"value" => array(
								'- No pagination -' => '',
								'Normal numbered' => 'numbered',
								'Next Prev ajax' => 'next_prev',
								'Load More button' => 'load_more',
								'Infinite load' => 'infinite'
							),
							"heading" => 'Pagination:',
							"description" => "Our blocks support pagination.",
							"holder" => "div",
							"class" => "tdc-dropdown-big",
							'group' => ''
						),
						array(
							"param_name" => "ajax_pagination_infinite_stop",
							"type" => "textfield",
							"value" => '',
							"heading" => "Infinite load show 'Load more' after x pages:",
							"description" => "ONLY FOR INFINITE LOAD pagination: Shows 'load more' button after x number of pages. Leave this blank to load products forever when infinite load is set for ajax pagination",
							"holder" => "div",
							"class" => "tdc-textfield-big",
							'group' => ''
						),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "pag_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Top space',
                            "description" => "",
                            "placeholder" => "54",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            'group'      => '',
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
                        ),
                        array(
                            "param_name"  => "pag_padding",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Padding',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
                        ),
                        array(
                            "param_name"  => "pag_border_width",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border width',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "1",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
                        ),
                        array(
                            "param_name"  => "pag_border_radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'prev_tdicon',
                            'type' => 'icon',
                            'heading' => 'Prev icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            'param_name' => 'next_tdicon',
                            'type' => 'icon',
                            'heading' => 'Next icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
                        ),
                        array(
                            "param_name"  => "pag_icons_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icons size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "",
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Text color',
                            "param_name"  => "pag_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "pag_h_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active text color',
                            "param_name"  => "pag_a_text",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Background color',
                            "param_name"  => "pag_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "pag_h_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active background color',
                            "param_name"  => "pag_a_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-a",
                            "heading"     => 'Border color',
                            "param_name"  => "pag_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "pag_h_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-triple-c",
                            "heading"     => 'Active border color',
                            "param_name"  => "pag_a_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_pag', false, 'Pagination text' ),

                    self::get_map_block_module_tpl_params_array('Module'),

	                self::get_block_style()
				),
			)
		);


        /**
         * *************************************************************************************************************
         * Module Elements
         * *************************************************************************************************************
         */
		td_api_block::add('tdb_module_title',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Title',
				"base" => "tdb_module_title",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_title.php',
				'tdc_style_params' => array(
					'title_tag',
					'title_length',
					'open_in_new_tab',
					'excl_txt',
					'el_class'
				),
				"params" => array_merge(
					array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
						array(
							"param_name" => "title_tag",
							"type" => "dropdown",
							"value" => array(
								'H3 - Default' => 'h3',
								'H1' => 'h1',
								'H2' => 'h2',
								'H4' => 'h4',
							),
							"heading" => 'Title tag (SEO)',
							"description" => "",
							"holder" => "div",
							"class" => "tdc-dropdown-big",
						),
						array(
							"param_name"  => "title_length",
							"type"        => "textfield",
							"value"       => '',
							"heading"     => 'Title length',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '12',
						),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "open_in_new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open link in new tab",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Title color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Title hover color',
                            "param_name"  => "color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
						array(
							"param_name"  => "all_underline",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Underline height',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '0',
						),
						array(
							"param_name"  => "all_underline_h",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Underline hover height',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '',
						),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Underline color',
                            "param_name"  => "all_underline_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Underline hover color',
                            "param_name"  => "all_underline_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Title text' ),

                    td_config::get_map_exclusive_label_array('', false, ''),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_img',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Featured Image',
				"base" => "tdb_module_img",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_img.php',
                'tdc_start_values' => base64_encode(
                    json_encode(
                        array(
                            array(
                                "icon_align" => "center-center",
                            )
                        )
                    )
                ),
				'tdc_style_params' => array(
                    'image_size',
					'open_in_new_tab',
                    'video_popup',
                    'video_rec',
                    'video_rec_title',
                    'video_rec_disable',
                    'autoplay_vid',
					'el_class'
				),
				"params" => array_merge(
					array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "image_size",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Medium - Default - 696x0px'  => '',
                                '-- [No crop] --' => '__',
                                'XSmall - 150x0px' => 'td_150x0',
                                'Small - 300x0px' => 'td_300x0',
                                'Large - 1068x0px' => 'td_1068x0',
                                'Full - 1920x0px'  => 'td_1920x0',
                                '-- [Other sizes] --' => '__',
                                '218x150px' => 'td_218x150',
                                '324x400px'  => 'td_324x400',
                                '485x360' => 'td_485x360'
                            ),
                            "heading"     => 'Image size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "display",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Cover'  => '',
                                'Auto'  => 'auto',
                            ),
                            "heading"     => 'Display',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                            "toggle_enable_params" => 'display',
                            "toggle_enable_params_reverse" => true
                        ),
                        array(
                            "param_name"  => "height",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Height',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "50%",
                            "group"       => "",
                            "toggle_enabled_by" => 'display'
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name"  => "all_border",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 0, 0, 0 ),
                    array(
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "open_in_new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open link in new tab",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
                    ),

                    td_config_helper::mix_blend(''),
                    td_config_helper::image_filters(''),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Post type icon',
                            "value"      => "",
                            "class"      => "",
                            "group"      => "",
                        ),
                        array(
                            "param_name"  => "version",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Default'  => '',
                                'Video'  => 'video',
                                'Audio'  => 'audio',
                            ),
                            "heading"     => 'Show version in composer',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "icon_show",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Show'  => 'block',
                                'Hide'  => 'none',
                            ),
                            "heading"     => 'Show icon',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "icon_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "40",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "icon_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Space',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "icon_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Top left' => 'top-left',
                                'Top center' => 'top-center',
                                'Top right' => 'top-right',
                                'Center left' => 'center-left',
                                'Center' => 'center-center',
                                'Center right' => 'center-right',
                                'Bottom left' => 'bottom-left',
                                'Bottom center' => 'bottom-center',
                                'Bottom right' => 'bottom-right',
                            ),
                            "heading" => 'Vertical and horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class tdc-modal-align-selector",
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"      => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Background color',
                            "param_name"  => "icon_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "icon_border",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Icon color',
                            "param_name"  => "icon_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('icon_shadow', 'Shadow', '.15em', 0, 0 ),

                    array(
                        array(
                            "param_name"  => "video_popup",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Enable video pop-up",
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "video_rec",
                            "type" => "textarea_raw_html",
                            "holder" => "div",
                            "class" => "tdc-textarea-raw-small",
                            "heading" => 'Video pop-up ad',
                            "value" => "",
                            "description" => 'Paste your ad code here.',
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "spot_header",
                            "type" => "spot_header",
                            "value" => "",
                            "class" => '',
                            "group" => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "video_rec_title",
                            "type" => "textfield",
                            "value" => '- Advertisement -',
                            "heading" => 'Ad title',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-spot-controller tdc-spot-color",
                            "heading"     => 'Ad title color',
                            "param_name"  => "video_rec_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name"  => "autoplay_vid",
                            "type"        => "checkbox",
                            "value"       => 'yes',
                            "heading"     => "Autoplay video",
                            "description" => "When it is inactive, the sound will be ON",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name"  => "video_rec_disable",
                            "type"        => "checkbox",
                            "value"       => '',
                            "heading"     => "Hide ADS for admins/editors",
                            "description" => "Used to prevent fake clicks and views on ads by admins and editors",
                            "holder"      => "div",
                            "class"       => "",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Video pop-up article title color',
                            "param_name"  => "video_title_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Video pop-up article title hover color',
                            "param_name"  => "video_title_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "video_bg",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up background color",
                            "value"      => "",
                            "class"      => "",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "video_overlay",
                            "holder"     => "div",
                            "type"       => "gradient",
                            'heading'    => "Video pop-up overlay color",
                            "value"      => "",
                            "class"      => "",
                            "group"       => 'Video pop-up',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => 'Video pop-up',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Video pop-up' ),

                    self::get_block_style()
                ),
			)
		);

		td_api_block::add('tdb_module_excerpt',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Excerpt',
				"base" => "tdb_module_excerpt",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_excerpt.php',
				'tdc_style_params' => array(
					'excerpt_tag',
					'excerpt_length',
					'el_class'
				),
				"params" => array_merge(
					array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
						array(
							"param_name" => "excerpt_tag",
							"type" => "dropdown",
							"value" => array(
								'DIV - Default' => 'div',
								'Paragraph' => 'p',
							),
							"heading" => 'Excerpt tag (SEO)',
							"description" => "",
							"holder" => "div",
							"class" => "tdc-dropdown-big",
						),
						array(
							"param_name"  => "excerpt_length",
							"type"        => "textfield",
							"value"       => '',
							"heading"     => 'Length',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '25',
						),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name"  => "excerpt_col",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                '1' => '1',
                                '2' => '2',
                                '3' => '3',
                            ),
                            "heading"     => 'Columns',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "excerpt_gap",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Columns gap',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "48",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Excerpt text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_author_name',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Author Name',
				"base" => "tdb_module_author_name",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_author_name.php',
				'tdc_style_params' => array(
					'open_in_new_tab',
					'el_class'
				),
				"params" => array_merge(
					array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "open_in_new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open link in new tab",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Author name color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Author name hover color',
                            "param_name"  => "color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Author name text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_author_photo',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Author Photo',
				"base" => "tdb_module_author_photo",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_author_photo.php',
				'tdc_style_params' => array(
					'open_in_new_tab',
					'el_class'
				),
				"params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "open_in_new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open link in new tab",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name"  => "size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Photo size',
                            "description" => "This setting accepts numeric values only",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "20",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "all_border",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                    ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_date',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Date',
				"base" => "tdb_module_date",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_date.php',
				'tdc_style_params' => array(
					'date_type',
					'format',
					'custom_format',
					'el_class'
				),
				"params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "date_type",
						    "type" => "dropdown",
						    "value" => array(
							    'Publish date' => '',
							    'Last modified date' => 'last_modified',
						    ),
						    "heading" => 'Date to display',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-extrabig",
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    "param_name" => "format",
						    "type" => "dropdown",
						    "value" => array(
							    'From WordPress settings' => '',
                                'Time ago' => 'time_ago',
							    'Custom format' => 'custom',
						    ),
						    "heading" => 'Date format',
						    "description" => "",
						    "holder" => "div",
						    "class" => "tdc-dropdown-extrabig",
                            "toggle_enable_params" => "format",
					    ),
                        array(
                            "param_name" => "time_ago_add_txt",
                            "type" => "textfield",
                            "value" => 'ago',
                            "heading" => 'Time ago',
                            "description" => "",
                            "placeholder" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
                            "toggle_enabled_by" => "format--time_ago",
                        ),
                        array(
                            "param_name" => "time_ago_txt_pos",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => 'Display Time ago before the date',
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "group" => "",
                            "info_img" => "",
                            "toggle_enabled_by" => "format--time_ago",
                        ),
                        array(
                            "param_name"  => "custom_format",
                            "type"        => "textfield",
                            "value"       => '',
                            "heading"     => 'Custom format',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-big",
                            "placeholder" => "F j, Y",
                            "group"       => "",
                            "toggle_enabled_by" => "format--custom",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Date color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Date text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_comments',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Comments Count',
				"base" => "tdb_module_comments",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_comments.php',
				'tdc_style_params' => array(
					'open_in_new_tab',
					'el_class'
				),
				"params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "open_in_new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open link in new tab",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "show_arrow",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show bottom arrow',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Comments count color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Comments count hover color',
                            "param_name"  => "color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Comment text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_views',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Views',
				"base" => "tdb_module_views",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_views.php',
				'tdc_style_params' => array(
					'views_type',
					'el_class'
				),
				"params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "views_type",
                            "type" => "dropdown",
                            "value" => array(
                                'Theme Post Views' => 'theme',
                                '- WP-PostViews Plugin -' => 'wp-post-plugin',
                            ),
                            "heading" => 'Post views source',
                            "description" => "From which service you want your post views number",
                            "holder" => "div",
                            "class" => "tdc-dropdown-extrabig"
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
					    array(
						    'param_name' => 'tdicon',
						    'type' => 'icon',
						    'heading' => 'Icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
						array(
							"param_name"  => "ico_size",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Size',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '13',
						),
                        array(
                            "param_name" => "ico_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before text' => 'before',
                                'After text' => 'after',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
					    array(
						    'param_name' => 'ico_align',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon vert. align',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-10',
						    'range_max' => '10',
						    'range_step' => '1',
					    ),
						array(
							"param_name"  => "ico_space",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Space',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '8',
						),
                         array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Icon hover color',
                            "param_name"  => "ico_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Views count color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Views count text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_taxonomies',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Categories/Taxonomies',
				"base" => "tdb_module_taxonomies",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_taxonomies.php',
				'tdc_style_params' => array(
					'taxonomy',
					'terms_limit',
					'open_in_new_tab',
					'el_class'
				),
				"params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            'param_name' => 'taxonomy',
                            'type' => 'textarea',
                            'value' => '',
                            'heading' => 'Taxonomy',
                            'description' => '',
						    "placeholder" => "category",
                            'class' => 'tdc-textarea-extrasmall',
                        ),
					    array(
						    "param_name" => "terms_limit",
						    "type" => "textfield",
						    "value" => '',
						    "heading" => 'Tags limit',
						    "description" => "",
						    "placeholder" => "1",
						    "holder" => "div",
						    "class" => "tdc-textfield-small",
					    ),
					    array(
						    "param_name" => "terms_level",
						    "type" => "textfield",
						    "value" => '',
						    "heading" => 'Tags level',
						    "description" => "",
						    "placeholder" => "",
						    "holder" => "div",
						    "class" => "tdc-textfield-small",
					    ),
                        array(
                            "param_name" => "open_in_new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open links in new tab",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "horizontal_separator",
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                        ),
                        array(
                            'param_name' => 'tdicon_tax',
                            'type' => 'icon',
                            'heading' => 'Icon',
                            'class' => 'tdc-textfield-small',
                            'value' => '',
                        ),
                        array(
                            "param_name"  => "tax_ico_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "14",
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "tax_ico_space",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icon right spacing',
                            "description" => "It applies a right margin to the icon, and it supports negative values.",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                        ),
                        array(
                            'param_name' => 'tax_ico_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Icon align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-10',
                            'range_max' => '10',
                            'range_step' => '1',
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Icon color',
                            "param_name"  => "tax_ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Taxonomy tags',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
					    array(
						    "param_name"  => "tax_space",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Space between tag groups',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "0",
					    ),
					    array(
						    "param_name"  => "space",
						    "type"        => "textfield-responsive",
						    "value"       => '5',
						    "heading"     => 'Space between tags',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "5",
					    ),
					    array(
						    "param_name"  => "padding",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Padding',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "3px 6px 4px 6px",
					    ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "enable_terms_color",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Enable terms' color",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                            "toggle_enable_params" => "enable_color"
                        ),
                        array(
                            "param_name" => "terms_color_style",
                            "type" => "dropdown",
                            "value" => array(
                                'Default' => 'style1',
                                'Solid' => 'style2',
                                'Rainbow' => 'style3',
                            ),
                            "heading" => "Terms' color style",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "toggle_enabled_by" => "enable_color"
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Text color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    "param_name"  => "all_border",
						    "type"        => "textfield-responsive",
						    "value"       => '',
						    "heading"     => 'Border size',
						    "description" => "",
						    "holder"      => "div",
						    "class"       => "tdc-textfield-big",
						    "placeholder" => "0",
					    ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "border_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "radius",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Border radius',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
					    array(
						    'param_name' => 'tdicon_sep',
						    'type' => 'icon',
						    'heading' => 'Icon separator',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
                        array(
                            "param_name"  => "ico_size",
                            "type"        => "textfield-responsive",
                            "value"       => '',
                            "heading"     => 'Icon size',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-textfield-small",
                            "placeholder" => "14",
                            "group"       => "",
                        ),
					    array(
						    'param_name' => 'ico_align',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon align',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-10',
						    'range_max' => '10',
						    'range_step' => '1',
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Icon color',
                            "param_name"  => "ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Tags text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_favourite',
            array(
                'map_in_td_composer' => true,
                "name" => 'Module Bookmark Post',
                "base" => "tdb_module_favourite",
                'tdc_category' => 'Modules elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_favourite.php',
                'tdc_style_params' => array(
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
					    array(
						    'param_name' => 'tdicon_fav1',
						    'type' => 'icon',
						    'heading' => 'Default icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    'param_name' => 'tdicon_fav2',
						    'type' => 'icon',
						    'heading' => 'Hover/bookmark added icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            'param_name'  => 'fav_size',
                            'type'        => 'range-responsive',
                            'value'       => '30',
                            'heading'     => 'Icon size',
                            'description' => '',
                            'class'       => 'tdc-textfield-small',
                            'range_min' => '10',
                            'range_max' => '150',
                            'range_step' => '5',
                            "group"       => "",
                        ),
                        array(
                            "param_name"  => "fav_space",
                            'type' => 'range-responsive',
                            'value' => '1.6',
                            'heading' => 'Icon spacing',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '3',
                            'range_step' => '0.1',
                        ),
                        array(
                            'param_name' => 'vert_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Vertical align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-20',
                            'range_max' => '20',
                            'range_step' => '1',
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "content_align_horizontal",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class"
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "fav_ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Icon hover/bookmark added color',
                            "param_name"  => "fav_ico_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "fav_bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "td-colorpicker-double-b",
                            "heading"     => 'Background hover/bookmark added color',
                            "param_name"  => "fav_bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
                    td_config_helper::get_map_block_shadow_array('fav_shadow', 'Shadow', 4, 1, 1, ''),

                    self::get_block_style()
                )
            )
        );

        td_api_block::add('tdb_module_exclusive_tag',
            array(
                'map_in_td_composer' => true,
                "name" => 'Module Exclusive Label',
                "base" => "tdb_module_exclusive_tag",
                'tdc_category' => 'Modules elements',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_exclusive_tag.php',
                'tdc_style_params' => array(
                    'excl_txt',
                    'el_class'
                ),
                "params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Gemeral',
                            "value" => "",
                            "class" => '',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "excl_txt",
                            "type" => "textfield",
                            "value" => '',
                            "heading" => 'Text',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "EXCLUSIVE",
                            "group" => '',
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "excl_padd",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Padding',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "4px 8px 2px",
                            "group" => '',
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "all_excl_border",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Border size',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group" => '',
                            "info_img" => "",
                        ),
                        array(
                            "param_name"  => "all_excl_border_style",
                            "type"        => "dropdown-responsive",
                            "value"       => array(
                                'Solid'  => 'solid',
                                'Dotted' => 'dotted',
                                'Dashed' => 'dashed',
                            ),
                            "heading"     => 'Border style',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group" => '',
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "excl_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => 'Border radius',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "0",
                            "group" => '',
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Style',
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "excl_color",
                            "value" => '',
                            "description" => '',
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "excl_bg",
                            "value" => '',
                            "description" => '',
                            "group" => '',
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "all_excl_border_color",
                            "value" => '',
                            "description" => '',
                            "group" => '',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_excl', true, 'Label text' ),

                    self::get_block_style()
                )
            )
        );

		td_api_block::add('tdb_module_review_overall',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Review Overall',
				"base" => "tdb_module_review_overall",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_review_overall.php',
				'tdc_style_params' => array(
					'hide_empty',
					'tdicon_full',
					'tdicon_half',
					'tdicon_empty',
					'el_class'
				),
				"params" => array_merge(
					array(
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'General',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name"  => "source",
                            "type"        => "dropdown",
                            "value"       => array(
                                'Author review'  => 'author',
                                'User reviews' => 'user_reviews',
                            ),
                            "heading"     => 'Reviews source',
                            "description" => "",
                            "holder"      => "div",
                            "class"       => "tdc-dropdown-big",
                            "group" => '',
                            "info_img" => "",
                        ),
                        array(
                            "param_name" => "hide_empty",
                            "type" => "checkbox",
                            "value" => 'yes',
                            "heading" => "Hide when no reviews",
                            "description" => "",
                            "holder" => "div",
                            "class" => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Stars',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_stars",
                            "type" => "dropdown",
                            "value" => array (
                                'Show' => 'flex',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show stars',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"      => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
					    array(
						    'param_name' => 'tdicon_full',
						    'type' => 'icon',
						    'heading' => 'Full star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    'param_name' => 'tdicon_half',
						    'type' => 'icon',
						    'heading' => 'Half star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    'param_name' => 'tdicon_empty',
						    'type' => 'icon',
						    'heading' => 'Empty star icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
		                    'param_name'  => 'stars_v_alignment',
		                    'type'        => 'range-responsive',
		                    'value'       => '0',
		                    'heading'     => 'Icons V alignment',
		                    'description' => '0 - Top / 50 - Center / 100 - Bottom',
		                    'class'       => 'tdc-textfield-small',
		                    'range_min'   => '-5',
		                    'range_max'   => '5',
		                    'range_step'  => '1',
		                    "group"       => "",
		                ),
                        array(
                            "param_name" => "space_btw_stars",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space between icons",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "3px",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "icons_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Icons size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "16"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Full/half stars color',
                            "param_name"  => "full_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Empty stars color',
                            "param_name"  => "empty_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type" => "text_separator",
                            'heading' => 'Label',
                            "value" => "",
                            "class" => "",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "show_label",
                            "type" => "dropdown",
                            "value" => array (
                                'Show' => 'block',
                                'Hide' => 'none',
                            ),
                            "heading" => 'Show label',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group"      => ""
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => '',
                        ),
                        array(
                            "param_name" => "label_space",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Space",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "12"
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Color',
                            "param_name"  => "label_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_label', true, 'Label text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_read_more',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Read More Button',
				"base" => "tdb_module_read_more",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_read_more.php',
				'tdc_style_params' => array(
					'el_class'
				),
				"params" => array_merge(
					array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
						array(
							"param_name"  => "text",
							"type"        => "textfield",
							"value"       => '',
							"heading"     => 'Button text',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-big",
							"placeholder" => 'Read more',
						),
                        array(
                            "param_name" => "open_in_new_tab",
                            "type" => "checkbox",
                            "value" => '',
                            "heading" => "Open link in new tab",
                            "description" => "",
                            "holder" => "div",
                            "class" => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
						array(
							"param_name"  => "padding",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Padding',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-big",
							"placeholder" => '10px 15px',
						),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Background color',
                            "param_name"  => "bg",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Background hover color',
                            "param_name"  => "bg_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Text color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Text hover color',
                            "param_name"  => "color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 0, 0, 0 ),
                    td_config_helper::get_map_block_shadow_array('shadow_h', 'Hover shadow', 0, 0, 0, '', '', 0, false ),
                    array(
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Button text' ),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Border',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
						array(
							"param_name"  => "all_border",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Size',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-big",
							"placeholder" => '0',
						),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            "type" => 'textfield-responsive',
                            "param_name" => 'all_border_radius',
                            "value" => '',
                            "heading" => 'Border radius',
                            "class" => 'tdc-textfield-small',
                            "description" => 'Optional - Choose a custom border radius for the button',
                            "placeholder" => "0",
                            "group" => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Border color',
                            "param_name"  => "all_border_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Border hover color',
                            "param_name"  => "border_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
					    array(
						    'param_name' => 'tdicon',
						    'type' => 'icon',
						    'heading' => 'Icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
						array(
							"param_name"  => "ico_size",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Size',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '13',
						),
                        array(
                            "param_name" => "ico_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before text' => 'before',
                                'After text' => 'after',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
					    array(
						    'param_name' => 'ico_align',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon vert. align',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-10',
						    'range_max' => '10',
						    'range_step' => '1',
					    ),
						array(
							"param_name"  => "ico_space",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Space',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '8',
						),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-a",
                            "heading"     => 'Icon color',
                            "param_name"  => "ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker-double-b",
                            "heading"     => 'Icon hover color',
                            "param_name"  => "ico_color_h",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_numbering',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Automatic Numbering',
				"base" => "tdb_module_numbering",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_numbering.php',
				'tdc_style_params' => array(
					'excerpt_tag',
					'excerpt_length',
					'el_class'
				),
				"params" => array_merge(
					array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Number text' ),

                    self::get_block_style()
				)
			)
		);

		td_api_block::add('tdb_module_reading_time',
			array(
				'map_in_td_composer' => true,
				"name" => 'Module Reading Time',
				"base" => "tdb_module_reading_time",
				'tdc_category' => 'Modules elements',
				'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/module/tdb_module_reading_time.php',
				'tdc_style_params' => array(
					'add_txt_sg',
					'add_txt_pl',
					'el_class'
				),
			    'tdc_start_values' => base64_encode(
				    json_encode(
					    array(
						    array(
                                'add_txt_sg' => 'minute',
                                'add_txt_pl' => 'minutes'
                            )
                        )
                    )
                ),
				"params" => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'General',
                            "value"      => "",
                            "class"      => "",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "align_horiz",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class",
                            "group"       => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Reading time counter',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "",
                            "heading"     => 'Text color',
                            "param_name"  => "color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Text' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Additional text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
						array(
							"param_name"  => "add_txt_sg",
							"type"        => "textfield",
							"value"       => '',
							"heading"     => 'Singular text',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-big",
							"placeholder" => '',
						),
						array(
							"param_name"  => "add_txt_pl",
							"type"        => "textfield",
							"value"       => '',
							"heading"     => 'Plural text',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-big",
							"placeholder" => '',
						),
						array(
							"param_name"  => "add_txt_space",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Space',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '4',
						),
                         array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker",
                            "heading"     => 'Text color',
                            "param_name"  => "add_txt_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                         array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                    ),
				    td_config_helper::get_map_block_font_array( 'f_add', true, 'Additional text' ),

                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            "group"       => "",
                        ),
					    array(
						    'param_name' => 'tdicon',
						    'type' => 'icon',
						    'heading' => 'Icon',
						    'class' => 'tdc-textfield-small',
						    'value' => '',
					    ),
					    array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
						array(
							"param_name"  => "ico_size",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Size',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '13',
						),
                        array(
                            "param_name" => "ico_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before text' => 'before',
                                'After text' => 'after',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
					    array(
						    'param_name' => 'ico_align',
						    'type' => 'range-responsive',
						    'value' => '0',
						    'heading' => 'Icon vert. align',
						    'description' => '',
						    'class' => 'tdc-textfield-small',
						    'range_min' => '-10',
						    'range_max' => '10',
						    'range_step' => '1',
					    ),
						array(
							"param_name"  => "ico_space",
							"type"        => "textfield-responsive",
							"value"       => '',
							"heading"     => 'Space',
							"description" => "",
							"holder"      => "div",
							"class"       => "tdc-textfield-small",
							"placeholder" => '8',
						),
                         array(
						    "param_name" => "separator",
						    "type"       => "horizontal_separator",
						    "value"      => "",
						    "class"      => "tdc-separator-small",
					    ),
                        array(
                            "type"        => "colorpicker",
                            "holder"      => "div",
                            "class"       => "tdc-colorpicker",
                            "heading"     => 'Icon color',
                            "param_name"  => "ico_color",
                            "value"       => '',
                            "description" => '',
                            "group"       => "",
                        ),
                    ),

                    self::get_block_style()
				)
			)
		);

    }

    /**
     * Helper function
     * returns an array containing all registered theme thumbnails dimensions
     * @return array
     */
    static function get_theme_thumbs() {
        $values_array = array();
        $values_array[ ' - default ( 696x0 ) - ' ] = '';

        foreach ( td_api_thumb::get_all() as $thumb ) {
            if ( $thumb['name'] == 'td_696x0' ) {
                continue;
            } else {
                $values_array[$thumb['width'] . ' x ' . $thumb['height']] = $thumb['name'];
            }
        }

        return $values_array;
    }

    static function get_theme_thumbs_full() {
		$values_array = array();
		$values_array[ ' Full ' ] = '';

		foreach ( td_api_thumb::get_all() as $thumb ) {
			$values_array[$thumb['width'] . ' x ' . $thumb['height']] = $thumb['name'];
		}

		return $values_array;
	}

	static function get_block_style () {
        return array(
            array(
                "param_name" => "separator",
                "type" => "horizontal_separator",
                "value" => "",
                "class" => ""
            ),
            array(
                'param_name' => 'el_class',
                'type' => 'textfield',
                'value' => '',
                'heading' => 'Extra class',
                'description' => 'Style particular content element differently - add a class name and refer to it in custom CSS',
                'class' => 'tdc-textfield-extrabig',
            ),
            array(
                'param_name' => 'tdc_css',
                'value' => '',
                'type' => 'tdc_css_editor',
                'heading' => '',
                'group' => 'Design options',
            )
        );
    }

    static function get_map_filter_array ( $group = '' ) {
        return array(

            // this are added to the main group
            array(
                "param_name" => "separator",
                "type"       => "text_separator",
                'heading'    => 'Extra',
                "value"      => "",
                "class"      => "",
                "group"      => $group
            ),
			//array(
			//    "param_name" => "tdb_grid_limit",
			//    "type" => "textfield",
			//    "value" => get_option( 'posts_per_page' ),
			//    "heading" => 'Limit post number:',
			//    "description" => "If the field is empty the limit post number will be the number from Wordpress settings -> Reading",
			//    "holder" => "div",
			//    "class" => "tdc-textfield-small",
			//),
            array(
                "param_name" => "offset",
                "type" => "textfield",
                "value" => '',
                "heading" => 'Offset posts:',
                "description" => "Start the count with an offset. If you have a block that shows 5 posts before this one, you can make this one start from the 6'th post (by using offset 5)",
                "holder" => "div",
                "class" => "tdc-textfield-small",
                "group"      => $group,
                "info_img" => "https://cloud.tagdiv.com/help/offset_posts.png",
            ),
            array(
                'param_name' => 'el_class',
                'type' => 'textfield',
                'value' => '',
                'heading' => 'Extra class',
                'description' => 'Style particular content element differently - add a class name and refer to it in custom CSS',
                'class' => 'tdc-textfield-extrabig',
                "group"      => $group
            )

        );
    }

    static function get_loop_map_filter_array ( $group = '' ) {

        $filter_array = array(
            array(
                "param_name" => "separator",
                "type"       => "text_separator",
                'heading'    => 'Extra',
                "value"      => "",
                "class"      => "",
                "group"      => $group
            ),
            array(
                "param_name" => "limit",
                "type" => "textfield",
                "value" => '',
                "heading" => 'Limit post number:',
                "description" => "If the field is empty the limit post number will be the number from WordPress settings -> Reading",
                "holder" => "div",
                "class" => "tdc-textfield-small",
                "info_img" => "https://cloud.tagdiv.com/help/limit_post_number.png",
                "group"      => $group
            ),
            array(
                "param_name" => "offset",
                "type" => "textfield",
                "value" => '',
                "heading" => 'Offset posts:',
                "description" => "Start the count with an offset. If you have a block that shows 5 posts before this one, you can make this one start from the 6'th post (by using offset 5)",
                "holder" => "div",
                "class" => "tdc-textfield-small",
                "group"      => $group,
                "info_img" => "https://cloud.tagdiv.com/help/offset_posts.png",
            ),
            array(
                "param_name" => "open_in_new_window",
                "type" => "checkbox",
                "value" => '',
                "heading" => "Open posts in new tab",
                "description" => "The posts will be opened in a new tab. This option adds target blank on image thumb and post title links.",
                "holder" => "div",
                "class" => ""
            ),
            array(
                "param_name" => "post_ids",
                "type" => "textfield",
                "value" => '',
                "heading" => 'Exclude Post IDs:',
                "description" => "Filter multiple posts by ID. Enter here the post IDs separated by commas (ex: 10,27,233). To exclude posts add them with '-' (ex: -7, -16)",
                "holder" => "div",
                "class" => "tdc-textfield-big",
                "group"      => $group
            ),
            array(
                "param_name" => "include_cf_posts",
                "type" => "textfield",
                "value" => '',
                "heading" => 'Include custom field:',
                "description" => "Include posts by specific Custom Field ( ACF true_false type ). If the CF meta value is true the post will be displayed on block.",
                "holder" => "div",
                "class" => "tdc-textfield-big",
                'group' => $group
            ),
            array(
                "param_name" => "exclude_cf_posts",
                "type" => "textfield",
                "value" => '',
                "heading" => 'Exclude custom field:',
                "description" => "Exclude posts by specific Custom Field ( ACF true_false type ). If the CF meta value is true the post will be excluded.",
                "holder" => "div",
                "class" => "tdc-textfield-big",
                'group' => $group
            ),
            array(
                "param_name" => "sort",
                "type" => "dropdown",
                "value" => array (
                    '- Latest -' => '',
                    'Oldest posts' => 'oldest_posts',
                    'Modified date' => 'modified_date',
                    'Alphabetical A -> Z' => 'alphabetical_order',
                    'Popular (all time)' => 'popular',
                    'Popular (last 7 days) - theme counter (enable from panel)' => 'popular7',
                    'Highest rated (reviews)' => 'review_high',
                    'Lowest rated (reviews)' => 'review_low',
                    'Highest rated (user reviews)' => 'user_reviews_high',
                    'Lowest rated (user reviews)' => 'user_reviews_low',
                    'Most Commented' => 'comment_count'
                ),
                "heading" => 'Sort order:',
                "description" => "How to sort the posts. Notice that Popular (last 7 days) option is affected by caching plugins and CDNs. For popular posts we recommend the jetpack (24-48hrs) method",
                "holder" => "div",
                "class" => "tdc-dropdown-big",
                "group"      => $group
            ),
            array(
                "param_name" => "installed_post_types",
                "type" => "textfield",
                "value" =>  '',//tdUtil::create_array_installed_post_types(),
                "heading" => 'Post Type:',
                "description" => "Filter by post types. Usage: post, page, event - Write 1 or more post types delimited by commas",
                "holder" => "div",
                "class" => "tdc-textfield-big",
                'group' => $group
            ),
            array(
                "param_name" => "ajax_pagination",
                "type" => "dropdown",
                "value" => array(
                    '- No pagination -' => '',
                    'Normal numbered' => 'numbered',
                    'Next Prev ajax' => 'next_prev',
                    'Load More button' => 'load_more',
                    'Infinite load' => 'infinite'
                ),
                "heading" => 'Pagination:',
                "description" => "Our blocks support pagination.",
                "holder" => "div",
                "class" => "tdc-dropdown-big",
                "group"      => $group,
                "info_img" => "https://cloud.tagdiv.com/help/module_pagination.png",
            ),
            array(
                "param_name"  => "ajax_pagination_next_prev_swipe",
                "type"        => "checkbox",
                "value"       => '',
                "heading"     => "Next Prev swipe",
                "description" => "ONLY FOR NEXT PREV pagination: Adds the ability for the user to slide to the left or right to load more posts",
                "holder"      => "div",
                "class"       => "",
                "group"       => $group,
            ),
            array(
                "param_name" => "ajax_pagination_infinite_stop",
                "type" => "textfield",
                "value" => '',
                "heading" => "Infinite load show 'Load more' after x pages:",
                "description" => "ONLY FOR INFINITE LOAD pagination: Shows 'load more' button after x number of pages. Leave this blank to load posts forever when infinite load is set for ajax pagination",
                "holder" => "div",
                "class" => "tdc-textfield-big",
                "group"      => $group
            ),
        );

	    $filter_array = apply_filters( 'td_cloud_library_loop_map_filter_array', $filter_array, $group );

        $filter_array = array_merge(
            $filter_array,
            array(
                array(
                    "param_name" => "separator",
                    "type" => "horizontal_separator",
                    "value" => "",
                    "class" => "tdc-separator-small",
                    "group" => $group,
                ),
                array(
                    "param_name"  => "review_source",
                    "type"        => "dropdown",
                    "value"       => array(
                        'Author review' => '',
                        'User reviews' => 'user_reviews',
                    ),
                    "heading"     => 'Reviews source',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-dropdown-big",
                    "group"       => $group,
                )
            )
        );

        return $filter_array;

    }

    static function get_acf_fields_param ($exclude_field_types = array(), $include_only_field_types = array(), $location = array()) {

        $data_array = array(
            "param_name"  => "acf_field",
            "type"        => "textfield",
            "value"       => '',
            "heading"     => 'ACF field',
            "description" => "",
            "holder"      => "div",
            "class"       => "tdc-textfield-extrabig tdc-disabled",
            "placeholder" => "",
        );

        if( class_exists('ACF') && ( tdc_state::is_live_editor_iframe() || tdc_state::is_live_editor_ajax() ) ) {

            $acf_field_options_array = array('- Select field -' => '');

            $acf_field_groups = acf_get_field_groups();
            if ( !empty( $acf_field_groups ) ) {
                foreach ( $acf_field_groups as $acf_field_group ) {
                    self::get_acf_fields($acf_field_group, $acf_field_options_array, $exclude_field_types, $include_only_field_types, $location);
                }
            }

            $data_array = array(
                "param_name" => "acf_field",
                "type" => "dropdown",
                "value" => $acf_field_options_array,
                "heading" => 'ACF field',
                "description" => "",
                "holder" => "div",
                "class" => "tdc-dropdown-extrabig",
                'toggle_enabled_by' => 'wp-field',
            );
        }

        return $data_array;
    }

    static function get_acf_fields ( $acf_field_group, &$acf_field_options_array, $exclude_field_types = array(), $include_only_field_types = array(), $location = array() ) {

        $acf_field_group_locations = $acf_field_group['location'];
        $matches_location = empty( $location ) ? true : false;

        if( !empty( $location ) ) {
            foreach( $acf_field_group_locations as $acf_field_group_location ) {
                if( $acf_field_group_location === $location ) {
                    $matches_location = true;
                    break;
                }
            }
        }

        if( !$matches_location ) {
            return;
        }

        $supported_acf_fields = ['text', 'textarea', 'number', 'range', 'email', 'url', 'select', 'checkbox', 'radio', 'button_group', 'image', 'taxonomy', 'date_picker', 'date_time_picker', 'time_picker', 'file', 'user', 'wysiwyg', 'post_object'];
        $supported_acf_fields = array_diff( $supported_acf_fields, $exclude_field_types );

        if( !empty( $include_only_field_types ) ) {
            $supported_acf_fields = $include_only_field_types;
        }

        $acf_field_group_id = $acf_field_group['ID'];

        $acf_field_group_title = isset($acf_field_group['type']) ? $acf_field_group['label'] : $acf_field_group['title'];
        if( isset( $acf_field_options_array['-- [' . $acf_field_group_title . '] --'] ) ) {
            $group_title_counter = 1;
            $acf_field_group_title_temp = $acf_field_group_title . ' (' . $group_title_counter . ')';

            while( isset($acf_field_options_array['-- [' . $acf_field_group_title_temp . '] --']) ) {
                $counter++;
                $acf_field_group_title_temp = $acf_field_group_title . ' (' . $counter . ')';
            }

            $acf_field_group_title = $acf_field_group_title_temp;
        }

        $acf_fields = acf_get_raw_fields( $acf_field_group_id );

        if( !empty( $acf_fields ) ) {
            $acf_field_options_array['-- [' . $acf_field_group_title . '] --'] = '__';

            foreach ( $acf_fields as $acf_field ) {
                if( in_array( $acf_field['type'], $supported_acf_fields ) ) {
                    $acf_field_option_key = $acf_field['label'] . ' (' . $acf_field['type'] . ')';

                    if( isset($acf_field_options_array[$acf_field_option_key]) ) {
                        $counter = 1;
                        $acf_field_option_key_temp = $acf_field_option_key . ' [' . $counter . ']';

                        while( isset($acf_field_options_array[$acf_field_option_key_temp]) ) {
                            $counter++;
                            $acf_field_option_key_temp = $acf_field_option_key . ' [' . $counter . ']';
                        }

                        $acf_field_option_key = $acf_field_option_key_temp;
                    }

                    $acf_field_options_array[$acf_field_option_key] = $acf_field['name'];
                } else if ( $acf_field['type'] == 'group' ) {
                    self::get_acf_fields($acf_field, $acf_field_options_array, $exclude_field_types);
                }
            }
        }

    }

    static function get_plan_id_att() {
        $tdbTemplateType = tdb_util::get_get_val('tdbTemplateType');

        $description = '';
        $hide_class = '';
        if( $tdbTemplateType != 'single' && $tdbTemplateType != 'cpt' && $tdbTemplateType != 'author' ) {
            $hide_class = 'tdc-hidden';
        }
        if( $tdbTemplateType == 'single' || $tdbTemplateType == 'cpt' ) {
            $description = 'Show the field value in the frontend only if the author of this article is subscribed to one of the plan IDs you enter here.';
        } else if ( $tdbTemplateType == 'author' ) {
            $description = 'Show the field value in the frontend only if the author is subscribed to one of the plan IDs you enter here.';
        }

        return array(
            "param_name"  => "plan_id",
            "type"        => "textfield",
            "value"       => '',
            "heading"     => 'Plans IDs',
            "description" => $description,
            "holder"      => "div",
            "class"       => "tdc-textfield-big ' . $hide_class . '",
            "placeholder" => "",
        );
    }

	static function get_tdb_filters_tax_fields() {
		$tdb_filters_tax_fields_no = apply_filters( 'tdb_filters_tax_fields_number', 10 );

		// make sure the filtered value is and integer, and it's limited
        if ( !is_int( $tdb_filters_tax_fields_no ) || $tdb_filters_tax_fields_no > 10 ) {
	        $tdb_filters_tax_fields_no = 10;
        }

		$fields = array(
			array(
                "param_name" => "separator",
                "type" => "text_separator",
                'heading' => 'Taxonomies',
                "value" => "",
                "class" => "tdc-separator",
                "group" => '',
            ),
			array(
				"param_name" => "filter_header",
				"type" => "filter_header",
				"heading" => "Taxonomy slug",
				"value" => "",
				"class" => "",
				"tdb_filters" => true,
			),
		);

		for ( $i = 1 ; $i <= $tdb_filters_tax_fields_no; $i++ ) {

			switch ( $i ) {
				case 1:
					$suffix = 'st';
					break;
				case 2:
					$suffix = 'nd';
					break;
				case 3:
					$suffix = 'rd';
					break;
				default:
					$suffix = 'th';
					break;
			}

			$fields[] = array(
				'param_name' => "tax_{$i}_filter_slug_input",
				'type' => 'textfield-responsive',
				'value' => '',
				'heading' => '',
				'description' => '',
				'class' => 'tdc-filter-controller tdc-filter-slug',
				'placeholder' => '-',
				"group" => ""
			);
			$fields[] = array(
				"param_name"  => "tax_{$i}_filter_type",
				"type"        => "dropdown",
				"value"       => array(
					'Button - Default' => '',
					'Dropdown' => 'dropdown',
					'Dropdown Search' => 'dropdown_search',
					'Color' => 'color',
					'Image' => 'image',
				),
				"heading"     => "1{$suffix} tax filter type",
				"description" => "Option to change filter type. The button type will be used as default type.",
				"holder"      => "div",
				"class"       => "tdc-filter-controller tdc-filter-type",
				"group"       => "",
			);

			// add option to set the behaviour of tax filters ( to allow multiple selection or go to selected )
            $fields[] = array(
	            "param_name" => "tax_{$i}_filter_action_type",
	            "type" => "checkbox",
	            "value" => "",
	            "heading" => 'Taxonomy filter type',
	            "description" => "unchecked > Single selection - filter from the selected taxonomy.
OR
checked > Multiple selection - filter from multiple taxonomies based on selection.",
	            "holder" => "div",
	            "class" => "tdc-filter-controller tdc-filter-multiple",
	            "group" => "",
            );
		}

		return $fields;
	}

	static function get_tdb_filters_loop_sorting_options() {

		// default sorting options
		$default_tdb_filters_loop_sorting_options = array(
			'Latest' => '',
            'Oldest posts' => 'oldest_posts',
            'Modified date' => 'modified_date',
            'Alphabetical A -> Z' => 'alphabetical_order'
		);

		// apply the loop_sorting_options filters
		$tdb_filters_loop_sorting_options = apply_filters( 'tdb_filters_loop_sorting_options', $default_tdb_filters_loop_sorting_options );

		// settings init
		$settings = array(
			array(
                "param_name" => "separator",
                "type" => "text_separator",
                'heading' => 'Sorting Options',
                "value" => "",
                "class" => "tdc-separator",
                "group" => '',
            ),
		);

		// make sure the filtered value is a flat array of primitive values
        if ( is_array( $tdb_filters_loop_sorting_options ) &&
             count( $tdb_filters_loop_sorting_options ) == count( $tdb_filters_loop_sorting_options, COUNT_RECURSIVE )
        ) {

	        foreach ( $tdb_filters_loop_sorting_options as $op_name => $op_val ) {

				if ( empty( $op_val ) )
					continue;

				$settings[] = array(
	                "param_name"  => $op_val,
	                "type"        => "checkbox",
	                "value"       => '',
	                "heading"     => $op_name,
	                "description" => "",
	                "holder"      => "div",
	                "class"       => "",
	            );

			}

        }

		return $settings;
	}

    static function register_styles() {

        // Main menu hover & active style
        td_api_style::add( 'tds_menu_active1', array(
                'group' => 'tds_menu_active',
                'title' => 'Style 1 - Default',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/styles/tds_menu_active/tds_menu_active1.php',
                'params' => array_merge(
                    array(
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "main_sub_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_icon_color_anim.png",
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Line width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_line_width_anim.png",
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Line height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "3",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_line_height_anim.png",
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '0',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '100',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_line_align_anim.png",
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Line color',
                            "param_name" => "line_color",
                            "value" => '    ',
                            "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_line_color_anim.png",
                        ),
                    )
                ),
            )
        );

        td_api_style::add( 'tds_menu_active2', array(
                'group' => 'tds_menu_active',
                'title' => 'Style 2 - Bordered',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/styles/tds_menu_active/tds_menu_active2.php',
                'params' => array_merge(
                    array(
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bordered_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "main_sub_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bordered_icon_color_anim.png",
                        ),
                        array(
                            "param_name" => "border_size",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border size",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-big",
                            "placeholder" => "3px 3px 3px 3px",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bordered_border_size_anim.png",
                        ),
                        array(
                            "param_name" => "border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => '',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bordered_border_style_anim.png",
                        ),
                        array(
                            "param_name" => "border_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bordered_border_radius_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Border color',
                            "param_name" => "border_color",
                            "value" => '',
                            "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bordered_border_color_anim.png",
                        ),
                    )
                ),
            )
        );

        td_api_style::add( 'tds_menu_active3', array(
                'group' => 'tds_menu_active',
                'title' => 'Style 3 - Background',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/styles/tds_menu_active/tds_menu_active3.php',
                'params' => array_merge(
                    array(
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bg_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "main_sub_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bg_icon_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Background color',
                            "param_name" => "bg_color",
                            "value" => '',
                            "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bg_bg_color_anim.png",
                        ),
                        array(
                            "param_name" => "border_radius",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Border radius",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "0",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_text_hover_style_bg_border_radius_anim.png",
                        ),
                    )
                ),
            )
        );


        // Sub menu hover & active style
        td_api_style::add( 'tds_menu_sub_active1', array(
                'group' => 'tds_menu_sub_active',
                'title' => 'Style 1 - Default',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/styles/tds_menu_sub_active/tds_menu_sub_active1.php',
                'params' => array_merge(
                    array(
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "sub_text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "sub_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_subsubmenu_icon_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Elements background color',
                            "param_name" => "sub_elem_bg_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_elements_bg_color_anim.png",
                        ),
                    )
                ),
            )
        );

        td_api_style::add( 'tds_menu_sub_active2', array(
                'group' => 'tds_menu_sub_active',
                'title' => 'Style 2 - Underline',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/styles/tds_menu_sub_active/tds_menu_sub_active2.php',
                'params' => array_merge(
                    array(
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Text color',
                            "param_name" => "sub_text_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_color_anim.png",
                        ),
                        array(
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Sub menu icon color',
                            "param_name" => "sub_color_h",
                            "value" => '',
                            "description" => '',
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_subsubmenu_icon_color_anim.png",
                        ),
                        array(
                            "param_name" => "line_width",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Line width",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "100%",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_hover_line_width_anim.png",
                        ),
                        array(
                            "param_name" => "line_height",
                            "type" => "textfield-responsive",
                            "value" => '',
                            "heading" => "Line height",
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-textfield-small",
                            "placeholder" => "2",
                            "group" => "",
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_hover_line_height_anim.png",
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'line_alignment',
                            'value' => '5',
                            'heading' => 'Line alignment',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '0',
                            'range_max' => '100',
                            'range_step' => '1',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_hover_line_align_anim.png",
                        ),
                        array(
                            "type" => "gradient",
                            "holder" => "div",
                            "class" => "",
                            "heading" => 'Line color',
                            "param_name" => "line_color",
                            "value" => '    ',
                            "description" => '',
                            "info_img" => "https://cloud.tagdiv.com/help/header_menu_style_submenu_text_hover_line_color_anim.png",
                        ),
                    )
                ),
            )
        );

                // Product favorite styles
        td_api_style::add( 'tds_single_favorite1', array(
                'group' => 'tds_single_favorite',
                'title' => 'Style 1 - Icon only',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/styles/tds_single_favorite/tds_single_favorite1.php',
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                            'group' => ''
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'icon_size',
                            'value' => '20',
                            'heading' => 'Icon size (px)',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '10',
                            'range_max' => '150',
                            'range_step' => '5',
                        ),
                        array(
                            'param_name' => 'icon_spacing',
                            'type' => 'range-responsive',
                            'value' => '2',
                            'heading' => 'Icon spacing',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '1',
                            'range_max' => '3',
                            'range_step' => '0.1',
                        ),
                        array(
                            'param_name' => 'vert_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Vertical align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-20',
                            'range_max' => '20',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'all_ico_border_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_ico_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'ico_border_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '100%',
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                            'group' => ''
                        ),
                        array(
                            "param_name" => "icon_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "icon_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icon hover/added color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "icon_bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icon background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "icon_bg_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icon background hover/added color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "all_ico_border_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icon border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "ico_border_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icon border hover/added color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('ico_shadow', 'Shadow', 0, 0, 0)
                )
            )
        );

        td_api_style::add( 'tds_single_favorite2', array(
                'group' => 'tds_single_favorite',
                'title' => 'Style 2 - Icon with text',
                'file' => TDB_TEMPLATE_BUILDER_DIR . '/styles/tds_single_favorite/tds_single_favorite2.php',
                'params' => array_merge(
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Layout',
                            "value"      => "",
                            "class"      => "",
                            'group' => ''
                        ),
                        array(
                            'param_name' => 'min_width',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Minimum width',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => 'auto',
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'padding',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Padding',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '10px 15px',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "btn_horiz_align",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Left' => 'content-horiz-left',
                                'Center' => 'content-horiz-center',
                                'Right' => 'content-horiz-right'
                            ),
                            "heading" => 'Horizontal align',
                            "description" => "",
                            "holder" => "div",
                            'tdc_dropdown_images' => true,
                            "class" => "tdc-visual-selector tdc-add-class"
                        ),
                        array(
                            "param_name" => "separator",
                            "type" => "horizontal_separator",
                            "value" => "",
                            "class" => "tdc-separator-small",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'all_border_size',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border size',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "all_border_style",
                            "type" => "dropdown-responsive",
                            "value" => array(
                                'Solid' => 'solid',
                                'Dashed' => 'dashed',
                                'Dotted' => 'dotted',
                                'Double' => 'double',
                            ),
                            "heading" => 'Border style',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'border_radius',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Border radius',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '0',
                            "group" => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group' => ''
                        ),
                        array(
                            'type' => 'range-responsive',
                            'param_name' => 'icon_size',
                            'value' => '17',
                            'heading' => 'Size (px)',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '10',
                            'range_max' => '150',
                            'range_step' => '5',
                        ),
                        array(
                            "param_name" => "icon_pos",
                            "type" => "dropdown",
                            "value" => array(
                                'Before the text' => '',
                                'After the text' => 'after',
                            ),
                            "heading" => 'Position',
                            "description" => "",
                            "holder" => "div",
                            "class" => "tdc-dropdown-big",
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'icon_space',
                            'type' => 'textfield-responsive',
                            'value' => '',
                            'heading' => 'Space',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'placeholder' => '10',
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'vert_align',
                            'type' => 'range-responsive',
                            'value' => '0',
                            'heading' => 'Vertical align',
                            'description' => '',
                            'class' => 'tdc-textfield-small',
                            'range_min' => '-20',
                            'range_max' => '20',
                            'range_step' => '1',
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group' => ''
                        ),
                        array(
                            'param_name' => 'text_init',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Initial text',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '',
                            "group" => "",
                        ),
                        array(
                            'param_name' => 'text_added',
                            'type' => 'textfield',
                            'value' => '',
                            'heading' => 'Added text',
                            'description' => '',
                            'class' => 'tdc-textfield-big',
                            'placeholder' => '',
                            "group" => "",
                        ),

                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Style',
                            "value"      => "",
                            "class"      => "",
                            'group' => ''
                        ),
                        array(
                            "param_name" => "bg",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Background color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "bg_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Background hover/added color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "all_border_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Border color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "border_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Border hover/added color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                    ),
                    td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 0, 0, 0),
                    array(
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Icon',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group' => ''
                        ),
                        array(
                            "param_name" => "icon_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Icon color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "icon_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Icon hover/added color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "separator",
                            "type"       => "text_separator",
                            'heading'    => 'Text',
                            "value"      => "",
                            "class"      => "tdc-separator-small",
                            'group' => ''
                        ),
                        array(
                            "param_name" => "txt_color",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-a",
                            "heading" => 'Text color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                        array(
                            "param_name" => "txt_color_h",
                            "type" => "colorpicker",
                            "holder" => "div",
                            "class" => "tdc-colorpicker-double-b",
                            "heading" => 'Text hover/added color',
                            "value" => '',
                            "description" => '',
                            "group"      => "",
                        ),
                    ),
                    td_config_helper::get_map_block_font_array( 'f_txt', true, 'Text' )
                )
            )
        );

    }

	static function get_modules_list() {

		$td_api_modules_list = array();

		foreach ( td_api_module::get_all() as $td_module_class => $td_module_array ) {
			$td_api_modules_list[$td_module_array['text']] = $td_module_class;
		}

		return array(
			"param_name"  => "modules_on_row",
            "type"        => "dropdown-responsive",
            "value"       => $td_api_modules_list,
            "heading"     => 'Module',
            "description" => "",
            "holder"      => "div",
            "class"       => "tdc-dropdown-big",
            "group"       => "Layout",
		);

	}

    static function get_new_posts_limit_atts( $group = '', $title_sep_small = false ) {

        $limit_atts_array = array(
            array(
                "param_name" => "separator",
                "type" => "text_separator",
                'heading' => 'Add new posts limit',
                "value" => "",
                "class" => $title_sep_small ? 'tdc-separator-small' : '',
                "group" => $group,
            ),
            array(
                "param_name" => "limit_from",
                "type" => "dropdown",
                "value" => array(
                    'Shortcode' => '',
                    'Plans' => 'plans',
                ),
                "heading" => 'Apply limits from',
                "description" => "",
                "holder" => "div",
                "class" => "tdc-dropdown-big " . ( !defined( 'TD_SUBSCRIPTION' ) ? 'tdc-hidden' : '' ),
                "group" => $group,
                'toggle_enable_params' => 'limit_from',
            ),
            array(
                "param_name" => "limit_def",
                "type" => "textfield",
                "value" => '',
                "heading" => "Shortcode limit",
                "description" => "",
                "holder" => "div",
                "class" => "tdc-textfield-small",
                "placeholder" => "",
                "group" => $group,
            ),
            array(
                "param_name" => "limit_def_plans",
                "type" => "textfield",
                "value" => '',
                "heading" => "Plans default limit",
                "description" => "",
                "holder" => "div",
                "class" => "tdc-textfield-small " . ( !defined( 'TD_SUBSCRIPTION' ) ? 'tdc-hidden' : '' ),
                "placeholder" => "0",
                "toggle_enabled_by" => "limit_from--plans",
                "group" => $group,
            ),
            array(
                "param_name" => "separator",
                "type" => "horizontal_separator",
                "value" => "",
                "class" => "tdc-separator-small",
                "group" => $group,
            ),
            array(
                'param_name' => 'limit_notif',
                'type' => 'textarea_raw_html',
                'value' => base64_encode( '<div class="tdb-s-notif tdb-s-notif-info"><div class="tdb-s-notif-descr">You have reached your limit of posting new articles.</div></div>' ),
                'heading' => 'Limit reached message',
                'description' => '',
                'class' => 'tdc-textarea-extrasmall',
                "group" => $group,
            ),
        );

        if( defined( 'TD_SUBSCRIPTION' ) ) {
            $limit_atts_array[2]['toggle_enabled_by'] = 'limit_from--';
        }

        return $limit_atts_array;

    }

    static function get_map_block_module_tpl_params_array( $group = '' ) {

        return array_merge(
            array(
                array(
                    "param_name" => "cloud_tpl_module_id",
                    "type" => "dropdown",
                    "value" => self::get_ct_modules_for_mapping(),
                    "heading" => 'Module template',
                    "description" => "",
                    "holder" => "div",
                    "class" => "tdc-dropdown-exxtrabig",
                    "group" => $group,
                ),

                array(
                    "param_name" => "separator",
                    "type"       => "text_separator",
                    'heading'    => 'Modules list',
                    "value"      => "",
                    "class"      => "",
                    "group" => $group,
                ),
                array(
                    "param_name"  => "modules_on_row",
                    "type"        => "dropdown-responsive",
                    "value"       => array(
                        '1'  => '100%',
                        '2'  => '50%',
                        '3'  => '33.33333333%',
                        '4'  => '25%',
                        '5'  => '20%',
                        '6'  => '16.66666667%',
                        '7'  => '14.28571428%',
                        '8'  => '12.5%',
                        '9'  => '11.11111111%',
                        '10' => '10%',
                    ),
                    "heading"     => 'Modules per row',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-dropdown-small",
                    "group" => $group,
                    "info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
                ),
                array(
                    "param_name"  => "modules_gap",
                    "type"        => "textfield-responsive",
                    "value"       => '48',
                    "heading"     => 'Modules gap',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-textfield-small",
                    "placeholder" => "40",
                    "group" => $group,
                    "info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
                ),
                array(
                    "param_name"  => "all_modules_space",
                    "type"        => "textfield-responsive",
                    "value"       => '',
                    "heading"     => 'Modules bottom space',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-textfield-small",
                    "placeholder" => "34",
                    "group" => $group,
                    "info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
                ),
                array(
                    "param_name" => "separator",
                    "type" => "horizontal_separator",
                    "value" => "",
                    "class" => "tdc-separator-small",
                    "group" => $group,
                ),
                array(
                    "param_name" => "modules_horiz_align",
                    "type" => "dropdown-responsive",
                    "value" => array(
                        'Left' => 'flex-start',
                        'Center' => 'center',
                        'Right' => 'flex-end',
                    ),
                    "heading" => 'Modules vert. align',
                    "description" => "",
                    "holder" => "div",
                    'tdc_dropdown_images' => true,
                    "class" => "tdc-visual-selector tdb-modules-tpl-selector tdb-modules-tpl-horiz-align tdc-add-class",
                    'group' => $group,
                ),
                array(
                    "param_name" => "modules_vert_align",
                    "type" => "dropdown-responsive",
                    "value" => array(
                        'Top' => 'flex-start',
                        'Center' => 'center',
                        'Bottom' => 'flex-end',
                        'Equal heights' => 'stretch',
                    ),
                    "heading" => 'Modules vert. align',
                    "description" => "",
                    "holder" => "div",
                    'tdc_dropdown_images' => true,
                    "class" => "tdc-visual-selector tdb-modules-tpl-selector tdb-modules-tpl-vert-align tdc-add-class",
                    'group' => $group,
                ),

                array(
                    "param_name" => "separator",
                    "type"       => "text_separator",
                    'heading'    => 'Individual module',
                    "value"      => "",
                    "class"      => "",
                    "group" => $group,
                ),
                array(
                    "param_name"  => "modules_padding",
                    "type"        => "textfield-responsive",
                    "value"       => '',
                    "heading"     => 'Padding',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-textfield-big",
                    "placeholder" => "0",
                    "group" => $group,
                ),
                array(
                    "param_name" => "separator",
                    "type" => "horizontal_separator",
                    "value" => "",
                    "class" => "tdc-separator-small",
                    "group" => $group,
                ),
                array(
                    "type"        => "colorpicker",
                    "holder"      => "div",
                    "class"       => "tdc-colorpicker-double-a",
                    "heading"     => 'Background color',
                    "param_name"  => "modules_bg",
                    "value"       => '',
                    "description" => '',
                    "group" => $group,
                ),
                array(
                    "type"        => "colorpicker",
                    "holder"      => "div",
                    "class"       => "tdc-colorpicker-double-b",
                    "heading"     => 'Background hover color',
                    "param_name"  => "modules_bg_h",
                    "value"       => '',
                    "description" => '',
                    "group" => $group,
                ),
            ),
            td_config_helper::get_map_block_shadow_array('m_shadow', 'Shadow', 0, 0, 0, $group ),
            td_config_helper::get_map_block_shadow_array('m_shadow_h', 'Hover shadow', 0, 0, 0, $group, '', 0, false ),

            array(
                array(
                    "param_name" => "separator",
                    "type"       => "text_separator",
                    'heading'    => 'Modules border',
                    "value"      => "",
                    "class"      => "tdc-separator-small",
                    "group" => $group,
                ),
                array(
                    "param_name"  => "all_m_bord",
                    "type"        => "textfield-responsive",
                    "value"       => '',
                    "heading"     => 'Size',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-textfield-big",
                    "placeholder" => "0",
                    "group" => $group,
                ),
                array(
                    "param_name" => "all_m_bord_style",
                    "type" => "dropdown-responsive",
                    "value" => array(
                        'Solid' => '',
                        'Dashed' => 'dashed',
                        'Dotted' => 'dotted',
                        'Double' => 'double',
                    ),
                    "heading" => 'Style',
                    "description" => "",
                    "holder" => "div",
                    "class" => "tdc-dropdown-big",
                    "group" => $group,
                ),
                array(
                    "type"        => "colorpicker",
                    "holder"      => "div",
                    "class"       => "tdc-colorpicker-double-a",
                    "heading"     => 'Color',
                    "param_name"  => "all_m_bord_color",
                    "value"       => '',
                    "description" => '',
                    "group" => $group,
                ),
                array(
                    "type"        => "colorpicker",
                    "holder"      => "div",
                    "class"       => "tdc-colorpicker-double-b",
                    "heading"     => 'Hover color',
                    "param_name"  => "m_bord_color_h",
                    "value"       => '',
                    "description" => '',
                    "group" => $group,
                ),
                array(
                    "param_name"  => "m_bord_radius",
                    "type"        => "textfield-responsive",
                    "value"       => '',
                    "heading"     => 'Radius',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-textfield-big",
                    "placeholder" => "0",
                    "group" => $group,
                ),

                array(
                    "param_name" => "separator",
                    "type"       => "text_separator",
                    'heading'    => 'Modules divider',
                    "value"      => "",
                    "class"      => "tdc-separator-small",
                    "group" => $group,
                ),
                array(
                    "param_name"  => "all_divider",
                    "type"        => "textfield-responsive",
                    "value"       => '',
                    "heading"     => 'Size',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-textfield-small",
                    "placeholder" => "0",
                    "group" => $group,
                ),
                array(
                    "param_name"  => "all_divider_style",
                    "type"        => "dropdown-responsive",
                    "value"       => array(
                        'Solid'  => 'solid',
                        'Dotted' => 'dotted',
                        'Dashed' => 'dashed',
                    ),
                    "heading"     => 'Style',
                    "description" => "",
                    "holder"      => "div",
                    "class"       => "tdc-dropdown-big",
                    "group" => $group,
                ),
                array(
                    "type"        => "colorpicker",
                    "holder"      => "div",
                    "class"       => "",
                    "heading"     => 'Color',
                    "param_name"  => "all_divider_color",
                    "value"       => '',
                    "description" => '',
                    "group" => $group,
                ),
            )
        );

    }

	/**
	 * Helper function
	 * returns an array containing all modules cloud templates for block mapping
	 *
	 * @param $use_global
	 *
	 * @return array[]
	 */
	static function get_ct_modules_for_mapping( $use_global = false ) {
		$modules = array(
            '- Select Module Template -' => ''
        );

		$wp_query_ct_modules = new WP_Query(
	        array(
	            'post_type' => array( 'tdb_templates' ),
	            'post_status' => 'publish',
	            'meta_key' => 'tdb_template_type',
	            'meta_value' => 'module',
	            'posts_per_page' => '-1'
	        )
	    );

        $ct_modules = !empty( $wp_query_ct_modules->posts ) ? $wp_query_ct_modules->posts : array();
		if ( !empty($ct_modules) ) {
			foreach ( $ct_modules as $template ) {
				$modules[$template->post_title] = $template->ID;
			}
		}

		// if ( $use_global ) {
		// 	return array_merge( array( '- Global -' => '' ), $modules );
		// }

		return $modules;

	}

}

