<?php
class tdb_config {
//
// static $js_files_frontend = array (
// 'tdbVue' => '/assets/js/external/vue.js',
// 'tdbTemplateSelector' => '/assets/js/tdbSelector.js',
// );
static $js_files_vue_modals = array (
'tdbApi' => '/assets/js/tdbApi.js',
'tdbTemplateSelector' => '/assets/js/tdbSelector.js',
'tdbVue' => '/assets/js/vue/external/vue.js',
'tdbVueRouter' => '/assets/js/vue/external/vue-router.js',
'tdbError' => '/assets/js/vue/error.js',
'tdbCache' => '/assets/js/vue/cache.js',
'tdbIndex' => '/assets/js/vue/index.js',
'tdbSingle' => '/assets/js/vue/single.js',
'tdbInstall' => '/assets/js/vue/install.js'
);
static $js_files_vue_modals_last = array (
'tdbMain' => '/assets/js/vue/load.js',
'tdbRouter' => '/assets/js/vue/router/router.js'
);
// load the rest of the non vue js
static $js_files_wp_admin = array(
'tdbWpAdminMain' => '/assets/js/tdbWpAdminMain.js'
);
static $js_files_for_front = array (
'tdFrontEnd' => '/assets/js/tdFrontEnd.js',
'tdbMenu' => '/assets/js/tdbMenu.js', // add the menu js
'tdbSearch' => '/assets/js/tdbSearch.js', // add the search js
);
// 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'
);
static function on_tdc_loaded() {
self::register_styles();
/**
* 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
)
);
/**
* 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',
),
"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"
),
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' => '',
'Bordered' => '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",
),
array(
"param_name" => "cat_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Tags spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 5px 5px 0",
),
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',
),
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',
),
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',
),
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' => '',
),
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',
),
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',
),
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" => "tdc-separator-small",
),
array(
"param_name" => "bg_color",
"type" => "gradient",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Background color',
"value" => '',
"description" => '',
),
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" => '',
),
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" => '',
),
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" => '',
),
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_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" => "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" => "sub_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Subtitle color",
"value" => "",
"class" => "",
),
),
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" => ""
),
array(
"param_name" => "float_right",
"type" => "checkbox",
"value" => '',
"heading" => 'Align block to right',
"description" => "",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Time ago',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "time_ago",
"type" => "checkbox",
"value" => '',
"heading" => 'Enable time ago',
"description" => "Applicable only for posts newer than 7 days",
"holder" => "div",
"class" => ""
),
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" => "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" => "",
),
),
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" => "hide_date",
"type" => "checkbox",
"value" => '',
"heading" => 'Hide modified date after one week ',
"description" => "",
"holder" => "div",
"class" => ""
),
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' => 'Tima ago',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "time_ago",
"type" => "checkbox",
"value" => '',
"heading" => 'Enable time ago',
"description" => "Applicable only for posts newer than 7 days",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "extra_text",
"type" => "textfield",
"value" => 'ago',
"heading" => 'Extra text',
"description" => "Appears only when time ago is enable",
"placeholder" => "",
"holder" => "div",
"class" => "tdc-textfield-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' => '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_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" => ""
),
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' => '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"
),
array(
"param_name" => "add_text_pos",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above author name' => 'above',
),
"heading" => 'Position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
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" => ""
),
array(
"param_name" => "photo_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"placeholder" => "20",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "photo_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"placeholder" => "6",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"placeholder" => "50%",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author name color',
"param_name" => "author_color",
"value" => '',
"description" => '',
"group" => "",
),
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' => '',
),
array(
"param_name" => "icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Comments icon size',
"description" => "",
"placeholder" => "9",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Comments 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" => "horizontal_separator",
"value" => "",
"class" => ""
),
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" => "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" => "",
),
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" => "",
),
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" => ""
),
array(
"param_name" => "float_right",
"type" => "checkbox",
"value" => '',
"heading" => 'Align block to right',
"description" => "",
"holder" => "div",
"class" => ""
),
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' => '',
),
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" => 'Views counter color',
"param_name" => "views_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Views icon color',
"param_name" => "icon_color",
"value" => '',
"description" => '',
"group" => "",
),
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_share',
array(
'map_in_td_composer' => true,
"name" => 'Single Post Share',
"base" => "tdb_single_post_share",
'tdc_category' => 'Single post',
'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" => "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" => '',
"heading" => 'Hide like button',
"description" => "Show or hide the article like on single post",
"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",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
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",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
array(
"param_name" => "share_i_color",
"heading" => 'Share icon color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "share_color",
"heading" => 'Share text color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "share_bg_color",
"heading" => 'Share background color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "share_b_color",
"heading" => 'Share border color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
array(
"param_name" => "btn_i_color",
"heading" => 'Buttons icon color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "btn_color",
"heading" => 'Buttons text color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "btn_bg_color",
"heading" => 'Buttons background color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "btn_b_color",
"heading" => 'Buttons border color',
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"value" => '',
"description" => '',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
),
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" => "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" => "lightbox",
"type" => "checkbox",
"value" => '',
"heading" => 'Featured image lightbox',
"description" => "What to do when the featured image is clicked",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "stretch",
"type" => "checkbox",
"value" => '',
"heading" => 'Auto stretch block',
"description" => "",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "stretch_rev",
"type" => "checkbox",
"value" => '',
"heading" => 'Reverse stretch',
"description" => "",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "hide_img",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Hide when no featured image",
"description" => "",
"holder" => "div",
"class" => ""
),
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" => "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"
),
array(
"param_name" => "caption_padding",
"type" => "textfield",
"value" => '',
"heading" => 'Caption padding',
"description" => "",
"placeholder" => "0px 0px 0px 0px",
"holder" => "div",
"class" => "tdc-textfield-big"
),
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",
),
array(
"param_name" => "hide_caption",
"type" => "checkbox",
"value" => '',
"heading" => "Hide caption",
"description" => "",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Featured image',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"param_name" => "overlay",
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Overlay color',
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Caption text color',
"param_name" => "caption_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "caption_bg",
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Caption background color',
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Featured 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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
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"
),
array(
"param_name" => "block_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height',
"description" => "",
"placeholder" => "600",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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',
),
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" => "",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "overlay",
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Overlay color',
"value" => '',
"description" => '',
),
array(
"param_name" => "hide_img",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Hide when no featured image",
"description" => "",
"holder" => "div",
"class" => ""
),
),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
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_inline',
'ad_inline_title',
'ad_bottom',
'ad_bottom_title',
'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' => '',
),
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"
),
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' => '',
),
array(
"param_name" => "post_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Post content color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "h_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'H1-6 color',
"value" => '',
"description" => '',
"group" => "Style",
),
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" => "bq_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Default blockquote color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "caption_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Image caption text color',
"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",
),
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",
),
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",
),
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_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" => "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" => "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-responsive",
"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" => "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-responsive",
"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" => "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",
),
),
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"
),
array(
"param_name" => "add_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Additional text space',
"description" => "",
"placeholder" => "4",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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"
),
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"
),
array(
"param_name" => "all_src_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Source name border width',
"description" => "",
"placeholder" => "1",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Additional text background',
"param_name" => "add_bg",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
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" => "",
),
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" => "",
),
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"
),
array(
"param_name" => "add_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Additional text space',
"description" => "",
"placeholder" => "4",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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"
),
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"
),
array(
"param_name" => "all_via_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Via name border width',
"description" => "",
"placeholder" => "1",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Additional text background',
"param_name" => "add_bg",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
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" => "",
),
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" => "",
),
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"
),
array(
"param_name" => "add_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Additional text space',
"description" => "",
"placeholder" => "4",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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"
),
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"
),
array(
"param_name" => "tags_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Tags padding',
"description" => "",
"placeholder" => "1px 7px 2px 7px",
"holder" => "div",
"class" => "tdc-textfield-big"
),
array(
"param_name" => "all_tags_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Tags border width',
"description" => "",
"placeholder" => "1",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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',
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Additional text background',
"param_name" => "add_bg",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
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" => "",
),
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" => "",
),
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" => "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",
),
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"
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Info text color',
"param_name" => "info_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article text color',
"param_name" => "post_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article hover color',
"param_name" => "post_hover_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"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" => "",
),
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"
),
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" => "display",
"type" => "dropdown-responsive",
"value" => array(
'Columns' => '',
'Row' => 'row',
),
"heading" => 'Display',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
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" => "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" => "",
),
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"
),
array(
"param_name" => "photo_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Space',
"description" => "",
"placeholder" => "21",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Radius',
"description" => "",
"placeholder" => "0",
"holder" => "div",
"class" => "tdc-textfield-small"
),
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"
),
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" => "open_in_new_window",
"type" => "checkbox",
"value" => '',
"heading" => "Open author url in new window",
"description" => "",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Social icons',
"value" => "",
"class" => "",
"group" => '',
),
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" => "td-colorpicker-double-a",
"heading" => 'Author name color',
"param_name" => "auth_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
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" => 'Color',
"param_name" => "icons_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
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' ),
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' ),
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",
),
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"
),
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',
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
),
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",
),
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",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '20',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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",
),
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'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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" ),
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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Default - 696px' => '',
'XXSmall - 218x150' => 'td_218x150',
'XSmall - 324x400px' => 'td_324x400',
'Small - 485x360' => 'td_485x360',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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'
),
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',
),
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" => "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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout' ),
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",
),
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",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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",
),
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",
),
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",
),
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" => "show_com",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"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",
),
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'
),
array(
"param_name" => "show_audio",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Hide audio player",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "meta_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta container space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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',
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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'
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout'
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', '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' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style' ),
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',
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Module color 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" ),
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',
),
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" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"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",
),
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',
),
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',
),
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',
),
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',
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"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_m', 'Meta info shadow', 0, 0, 0, "Style" ),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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',
),
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',
),
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',
),
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",
),
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"
),
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',
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
),
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",
),
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",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '20',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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" ),
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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Default - 696px' => '',
'XXSmall - 218x150' => 'td_218x150',
'XSmall - 324x400px' => 'td_324x400',
'Small - 485x360' => 'td_485x360',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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'
),
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',
),
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" => "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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout' ),
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",
),
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",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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",
),
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",
),
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",
),
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" => "show_com",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"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",
),
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" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Hide audio player",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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',
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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'
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout'
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', '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' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style' ),
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',
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Module color 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" ),
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',
),
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',
),
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',
),
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',
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"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_m', 'Meta info shadow', 0, 0, 0, "Style" ),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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',
),
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',
),
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',
),
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"
),
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" => "",
),
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' => '',
),
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" => "",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Description color',
"param_name" => "descr_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Reply button color',
"param_name" => "reply_color",
"value" => '',
"description" => '',
"group" => "",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Separator color',
"param_name" => "sep_color",
"value" => '',
"description" => '',
"group" => "",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Form title color',
"param_name" => "form_title_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Form agreement color',
"param_name" => "form_agree_color",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Input placeholder color',
"param_name" => "placeholder_color",
"value" => '',
"description" => '',
"group" => "",
),
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' => '',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Input border color',
"param_name" => "input_border_color",
"value" => '',
"description" => '',
"group" => "",
),
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' => '',
),
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" => "",
),
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" => "",
),
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' => '',
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "8px 15px",
"group" => "",
),
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",
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Fonts' ),
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"
),
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" => 'Title tags',
"description" => "",
"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"
),
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',
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Counter text color',
"param_name" => "counter_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Counter background color',
"param_name" => "counter_bg",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title color',
"param_name" => "title_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Image caption color',
"param_name" => "caption_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Description color',
"param_name" => "descr_color",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
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" => "",
),
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" => 'Paste your ad code here.',
'group' => 'Ads',
),
array(
"param_name" => "sm_ad_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_color",
"value" => '',
"description" => '',
"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(
"rating_align_horiz" => "content-horiz-center",
),
)
)
),
"params" => array_merge(
array(
array(
"param_name" => "label_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Label padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "7px 14px",
"group" => "Stars",
),
array(
"param_name" => "rating_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Rating padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "7px 14px",
"group" => "Stars",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Rows background color',
"param_name" => "bg_color",
"value" => '',
"description" => '',
"group" => "Stars",
),
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",
),
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',
),
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',
),
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",
),
array(
"param_name" => "stars_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Stars space',
"description" => "",
"placeholder" => "0",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => "Stars",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Stars color',
"param_name" => "stars_color",
"value" => '',
"description" => '',
"group" => "Stars",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Borders color',
"param_name" => "all_border_color",
"value" => '',
"description" => '',
"group" => "Stars",
),
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" => "Percentages & Points",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Features name color',
"param_name" => "feat_pp_color",
"value" => '',
"description" => '',
"group" => "Percentages & Points",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Values text color',
"param_name" => "val_color",
"value" => '',
"description" => '',
"group" => "Percentages & Points",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Percentages & Points',
),
array(
"param_name" => "bar_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bar height',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Percentages & Points",
),
array(
"param_name" => "bar_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Bar color",
"value" => "",
"class" => "",
"group" => "Percentages & Points",
),
array(
"param_name" => "bar_bg_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Bar background color",
"value" => "",
"class" => "",
"group" => "Percentages & Points",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Borders',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Percentages & Points",
),
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" => "Percentages & Points",
),
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" => "Percentages & Points",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Borders color',
"param_name" => "all_pp_border_color",
"value" => '',
"description" => '',
"group" => "Percentages & Points",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
"group" => "Percentages & Points"
),
),
td_config_helper::get_map_block_font_array( 'f_pp_feat', true, 'Features name text', 'Percentages & Points' ),
td_config_helper::get_map_block_font_array( 'f_val', false, 'Values text', 'Percentages & Points' ),
array(
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
"group" => "Stars"
),
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" => "Stars"
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color',
"param_name" => "title_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Final score color',
"param_name" => "final_color",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
array(
"param_name" => "stars_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Stars space',
"description" => "",
"placeholder" => "0",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Stars color',
"param_name" => "stars_color",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "all_border_color",
"value" => '',
"description" => '',
"group" => "",
),
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",
),
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"
),
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" => "",
),
array(
"param_name" => "padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Box padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "21px 14px",
"group" => "",
),
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "all_border_color",
"value" => '',
"description" => '',
"group" => "",
),
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",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
"group" => ""
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header' ),
td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description 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',
)
)
)
)
);*/
td_api_block::add('tdb_category_bg_image',
array(
'map_in_td_composer' => true,
"name" => 'Category Background Image',
"base" => "tdb_category_bg_image",
'tdc_category' => 'Category page',
'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" => "block_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height',
"description" => "",
"placeholder" => "600",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "image_alignment",
"type" => "dropdown",
"value" => array(
'Top' => '',
'Center' => 'center',
'Bottom' => 'bottom'
),
"heading" => 'Image alignment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "img_circle",
"type" => "checkbox",
"value" => '',
"heading" => "Rounded image",
"description" => "",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "overlay",
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Overlay color',
"value" => '',
"description" => '',
),
),
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" => "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",
),
array(
"param_name" => "more",
"type" => "checkbox",
"value" => '',
"heading" => 'Disable dropdown when display inline',
"description" => "",
"holder" => "div",
"class" => "",
"group" => ""
),
array(
"param_name" => "display_list",
"type" => "checkbox",
"value" => '',
"heading" => 'Display as list',
"description" => "",
"holder" => "div",
"class" => "",
"group" => ""
),
array(
"param_name" => "show_no",
"type" => "textfield",
"value" => '',
"heading" => 'Categories to show when display as list',
"description" => "",
"placeholder" => "auto",
"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" => "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",
),
array(
"param_name" => "cat_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 5px 0 0",
),
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" => ""
),
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" => ""
),
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" => ""
),
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' => '',
),
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',
),
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',
),
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' => '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" => "",
),
array(
"param_name" => "btn_text_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Text space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3",
),
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' => '',
),
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" => ""
),
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_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "5px 5px 4px",
),
array(
"param_name" => "btn_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
),
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",
),
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" => ""
),
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",
),
array(
"param_name" => "list_el_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Elements space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
),
array(
"param_name" => "cat_style",
"type" => "dropdown",
"value" => array(
'Default' => '',
'Rainbow' => 'tdb-cat-style2',
),
"heading" => 'Style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Style"
),
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" => "If you want to show the categories specific background color",
"holder" => "div",
"class" => "",
"group" => "Style"
),
array(
"param_name" => "bg_color",
"type" => "gradient",
"holder" => "div",
"class" => "td-colorpicker-triple-a",
"heading" => 'Background color',
"value" => '',
"description" => 'Background color',
"group" => "Style"
),
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"
),
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"
),
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"
),
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"
),
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"
),
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"
),
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"
),
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"
),
array(
"param_name" => "list_text",
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'List text color',
"value" => '',
"description" => '',
"group" => "Style"
),
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"
),
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' ),
td_config_helper::get_map_block_font_array( 'f_list', false, 'List text', 'Style' ),
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",
),
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"
),
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",
),
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" => "",
),
array(
"param_name" => "gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Columns gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "",
),
array(
"param_name" => "space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Categories space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "",
),
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" => "",
),
array(
"param_name" => "img_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
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" => "",
),
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" => "",
),
array(
"param_name" => "info_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "",
),
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" => "",
),
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" => "",
),
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" => "",
),
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" => "",
),
array(
"param_name" => "info_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "",
),
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" => "",
),
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" => "",
),
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" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Name',
"value" => "",
"class" => "tdc-separator-small",
"group" => "",
),
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" => "",
),
array(
"param_name" => "name_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 8px 0px",
"group" => "",
),
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" => "",
),
array(
"param_name" => "descr_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "",
),
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" => "",
),
array(
"param_name" => "descr_limit",
"type" => "textfield",
"value" => '',
"heading" => 'Description length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Category background color',
"param_name" => "bg_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
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",
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Top info border color',
"param_name" => "info_border_color1",
"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" => 'Bottom info background color',
"param_name" => "info_bg_color2",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bottom info border color',
"param_name" => "info_border_color2",
"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" => 'Name color',
"param_name" => "name_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
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',
),
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' ),
td_config_helper::get_map_block_font_array( 'f_name', false, 'Name text', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text', 'Style' ),
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",
),
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()
)
)
);
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",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '4',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
),
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" => "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",
),
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",
),
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",
),
array(
"param_name" => "video_icon",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"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_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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 3 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 3 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 3 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 1 title - mobile', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 1 category tag - mobile', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 1 meta info - mobile', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 1 title - mobile', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 1 category tag - mobile', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 1 meta info - mobile', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style' ),
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',
),
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',
),
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',
),
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',
),
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',
),
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"
),
array(
"param_name" => "image_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height',
"description" => "",
"placeholder" => '75',
"holder" => "div",
"class" => "tdc-textfield-small"
),
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',
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image 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" => "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" => "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" => "POSTS",
"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_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" => "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(
"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()
)
)
);
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' => '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",
"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' => '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",
),
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' => '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"
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "7px 15px 8px 15px"
),
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"
),
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.5',
'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',
),
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',
),
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" => ""
),
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"
),
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" => "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",
),
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_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" => "tdc-separator-small"
),
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" => "tdc-separator-small"
),
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" => "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",
),
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"
),
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',
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
),
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 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" => ''
),
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' => ''
),
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',
'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' => ''
),
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 posts forever when infinite load is set for ajax pagination",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => ''
),
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",
),
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",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '48',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Default - 696px' => '',
'XXSmall - 218x150' => 'td_218x150',
'XSmall - 324x400px' => 'td_324x400',
'Small - 485x360' => 'td_485x360',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
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",
),
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",
),
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",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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'
),
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',
),
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" => "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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout' ),
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",
),
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",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
),
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",
),
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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title / excerpt',
"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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
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'
),
array(
"param_name" => "show_audio",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Hide audio player",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "meta_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta container space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_radius",
"type" => "textfield",
"value" => '',
"heading" => 'Button border radius',
"description" => "",
"placeholder" => "0",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Layout',
),
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',
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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'
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout'
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
),
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' ),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style' ),
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',
),
),
td_config_helper::get_map_block_shadow_array('shadow', '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',
),
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" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"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",
),
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',
),
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',
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"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_m', 'Meta info shadow', 0, 0, 0, "Style" ),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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',
),
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',
),
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',
),
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',
),
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',
),
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',
),
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',
),
),
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",
),
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"
),
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',
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
),
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 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" => ''
),
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' => ''
),
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',
'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' => ''
),
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 posts forever when infinite load is set for ajax pagination",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => ''
),
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",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Default - 696px' => '',
'XXSmall - 218x150' => 'td_218x150',
'XSmall - 324x400px' => 'td_324x400',
'Small - 485x360' => 'td_485x360',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
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",
),
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",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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'
),
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',
),
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" => "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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout' ),
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",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Hide audio player",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
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",
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
),
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",
),
array(
"param_name" => "btn_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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',
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
),
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'
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout'
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
),
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' ),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style' ),
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',
),
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" ),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bottom meta info background',
"param_name" => "meta_bg2",
"value" => '',
"description" => '',
"group" => 'Style',
),
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',
),
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" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"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",
),
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',
),
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',
),
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" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"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_m', 'Meta info shadow', 0, 0, 0, "Style" ),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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',
),
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',
),
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',
),
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',
),
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',
),
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',
),
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',
),
),
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' => '',
),
array(
"param_name" => "icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Separator icon size',
"description" => "",
"placeholder" => "8",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Separator icon space',
"description" => "",
"placeholder" => "5",
"holder" => "div",
"class" => "tdc-textfield-small"
),
// 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" => ""
),
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",
),
// 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' => 'Article',
"value" => "",
"class" => "tdc-separator-small tdb-show-settings tdb-settings-post",
),
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",
),
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",
),
// 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" => "",
),
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" => "",
),
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()
)
)
);
/**
* *************************************************************************************************************
* 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, '…' ))] = 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"
),
array(
"param_name" => "show_subcat",
"type" => "checkbox",
"value" => '',
"heading" => "Show submenu in composer",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "",
),
array(
"param_name" => "show_mega",
"type" => "checkbox",
"value" => '',
"heading" => "Show regular mega menu in composer",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "",
),
array(
"param_name" => "show_mega_cats",
"type" => "checkbox",
"value" => '',
"heading" => "Show mm. with subcats in composer",
"description" => "",
"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" => "",
),
array(
"param_name" => "inline",
"type" => "checkbox",
"value" => '',
"heading" => "Make inline",
"description" => "",
"holder" => "div",
"class" => "",
),
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" => "",
),
array(
"param_name" => "float_right",
"type" => "checkbox",
"value" => '',
"heading" => 'Align 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' => '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" => "",
),
array(
"param_name" => "elem_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Elements padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 14px",
"group" => "",
),
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' => '',
),
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" => "",
),
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" => "",
),
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',
),
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' => '',
),
array(
"param_name" => "sep_icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Separator icon size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
array(
"param_name" => "sep_icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Separator icon space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
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',
),
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" => "",
),
array(
'param_name' => 'more_tdicon',
'type' => 'icon',
'heading' => 'Icon',
'class' => 'tdc-textfield-small',
'value' => '',
),
array(
"param_name" => "more_icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icon size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
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',
),
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" => "",
),
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" => "",
),
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" => "",
),
array(
"param_name" => "sub_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Menu padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "15px 0",
"group" => "",
),
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",
),
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" => "",
),
array(
"param_name" => "sub_elem_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Elements space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
array(
"param_name" => "sub_elem_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Elements padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "7px 30px",
"group" => "",
),
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" => "",
),
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' => '',
),
array(
"param_name" => "sub_icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icon size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "7",
"group" => "",
),
array(
"param_name" => "sub_icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icon space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
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" => "",
),
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',
),
array(
"param_name" => "mm_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Container width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1114",
"group" => "Mega menu",
),
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",
),
array(
"param_name" => "mm_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Height',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "auto",
"group" => "Mega menu",
),
array(
"param_name" => "mm_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "22",
"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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"group" => "Mega menu",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Mega menu",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Mega menu",
),
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",
),
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(
'Default - 696px' => '',
'XXSmall - 218x150' => 'td_218x150',
'XSmall - 324x400px' => 'td_324x400',
'Small - 485x360' => 'td_485x360',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Mega menu",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Mega menu",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Mega menu",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Mega menu',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Mega menu",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Mega menu",
),
),
td_config_helper::get_map_block_font_array( 'f_vid_time', true, 'Video duration text', 'Mega menu' ),
array(
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Mega menu",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Mega menu",
),
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",
),
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",
),
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",
),
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",
),
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" => "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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "excerpt_middle",
"type" => "checkbox",
"value" => '',
"heading" => "Excerpt in middle",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Mega menu",
),
array(
"param_name" => "show_audio",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Mega menu",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Hide audio player",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Mega menu'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Mega menu'
),
array(
"param_name" => "pag_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top space',
"description" => "",
"placeholder" => "20",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Mega menu',
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Mega menu",
),
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",
),
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",
),
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'
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Sub menu icon color',
"param_name" => "main_sub_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Separator icon color',
"param_name" => "sep_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'More icon color',
"param_name" => "more_icon_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
array(
"param_name" => "hover_opacity",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Hover opacity",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"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_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",
),
array(
"param_name" => "sub_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "sub_border_color",
"value" => '',
"description" => '',
"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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Elements background color',
"param_name" => "sub_elem_bg_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Sub menu icon color',
"param_name" => "sub_color",
"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' => '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",
),
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",
),
array(
"param_name" => "mm_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "1",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "mm_border_color",
"value" => '',
"description" => '',
"group" => "Style",
),
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'List border color',
"param_name" => "mm_subcats_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" => 'Elements text color',
"param_name" => "mm_elem_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
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",
),
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",
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Module color 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" ),
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",
),
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" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"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",
),
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",
),
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',
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt",
"value" => '',
"description" => '',
"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_m', 'Meta info shadow', 0, 0, 0, "Style" ),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"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" => 'Text color',
"param_name" => "pag_text",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
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",
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style' ),
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" => "",
),
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" => "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' => 'Icon',
"value" => "",
"class" => "",
"group" => "",
),
array(
'param_name' => 'tdicon',
'type' => 'icon',
'heading' => 'Toggle icon',
'class' => 'tdc-textfield-small',
'value' => '',
),
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" => "",
),
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" => "",
),
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"
),
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" => "",
),
array(
"param_name" => "gap",
"type" => "textfield",
"value" => '',
"heading" => "Gap",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20"
),
array(
"param_name" => "padding",
"type" => "textfield",
"value" => '',
"heading" => "Padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "15px 30px"
),
array(
"param_name" => "exclude",
"type" => "textfield",
"value" => '',
"heading" => "Exclude",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big"
),
array(
"param_name" => "include",
"type" => "textfield",
"value" => '',
"heading" => "Include",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big"
),
array(
"param_name" => "limit",
"type" => "textfield",
"value" => '',
"heading" => "Limit",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6"
),
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"
),
array(
"param_name" => "el_padding",
"type" => "textfield",
"value" => '',
"heading" => "Padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "7px 0"
),
array(
"param_name" => "el_border_size",
"type" => "textfield",
"value" => '',
"heading" => "Border size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0"
),
array(
"param_name" => "el_border_radius",
"type" => "textfield",
"value" => '',
"heading" => "Border radius",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "7px 0"
),
array(
"param_name" => "show_bg",
"type" => "checkbox",
"value" => '',
"heading" => 'Show backgrounds',
"description" => "",
"holder" => "div",
"class" => ""
),
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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => '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',
),
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',
),
),
td_config_helper::get_map_block_shadow_array('shadow', 'Shadow', 6, 0, 2, 'Style' ),
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',
),
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",
),
array(
"type" => "gradient",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Overlay color',
"param_name" => "overlay_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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',
),
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",
)
)
)
),
'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" => "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" => "",
),
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",
),
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' => 'Image',
"value" => "",
"class" => "tdc-separator",
"group" => '',
),
array(
"param_name" => "image",
"type" => "attach_image",
"value" => '',
"heading" => "Logo image",
"description" => "",
"holder" => "div",
"class" => "",
),
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" => "",
),
array(
"param_name" => "img_txt_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Image space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
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" => "",
),
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" => "",
),
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" => ""
),
array(
'param_name' => 'tagline',
'type' => 'textarea_raw_html',
'value' => '',
'heading' => 'Logo text tagline',
'description' => '',
'class' => 'tdc-textarea-extrasmall',
),
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" => "",
),
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" => "",
),
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" => "",
),
array(
"param_name" => "tagline_pos",
"type" => "dropdown-responsive",
"value" => array(
'Row' => '',
'Columns' => 'inline',
),
"heading" => 'Display',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "",
),
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",
),
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",
),
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' => '',
),
array(
"param_name" => "icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icon size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "46"
),
array(
"param_name" => "icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icon space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0"
),
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" => "",
),
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" => "",
),
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",
),
array(
"param_name" => "svg_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => "SVG width",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "auto",
"group" => "SVG",
),
array(
"param_name" => "svg_txt_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "SVG space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "SVG",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'SVG color',
"param_name" => "svg_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "gradient",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "text_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
array(
"param_name" => "text_bg_h",
"type" => "attach_image",
"value" => '',
"heading" => "Text background hover image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Style",
),
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",
),
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",
),
array(
"param_name" => "tagline_bg_h",
"type" => "attach_image",
"value" => '',
"heading" => "Tagline background hover image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Style",
),
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" => '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",
"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' ),
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',
'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(
array(
"param_name" => "show_form",
"type" => "checkbox",
"value" => '',
"heading" => "Show search form",
"description" => "",
"holder" => "div",
"class" => "",
),
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' => '',
),
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" => "",
),
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" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "",
),
array(
"param_name" => "toggle_txt",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Text",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => ""
),
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" => "",
),
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" => "0"
),
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' => '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"
),
array(
"param_name" => "form_offset_left",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Form left offset",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0"
),
array(
"param_name" => "form_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Form width",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "300"
),
array(
"param_name" => "form_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Form padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px"
),
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"
),
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" => "",
),
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" => "",
),
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" => ""
),
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" => "input_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Border size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "1px 1px 1px 1px"
),
array(
"param_name" => "input_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" => "tdc-separator-small",
"group" => "",
),
array(
"param_name" => "btn_text",
"type" => "textfield",
"value" => 'Search',
"heading" => "Text",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => ""
),
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"
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 15px"
),
array(
"param_name" => "btn_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Border size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0"
),
array(
"param_name" => "btn_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' => '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"
),
array(
"param_name" => "results_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Border size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "1px 0 0 0"
),
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"
),
array(
"param_name" => "results_msg_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Border size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0"
),
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" => "",
),
array(
"param_name" => "mc1_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '8',
"group" => "Results module",
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"group" => "Results module",
),
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" => "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",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "22",
"group" => "Results module",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Results module",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Results module",
),
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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Results module",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Default - 696px' => '',
'XSmall - 324x400px' => 'td_324x400',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Results module",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Results module",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Results module",
),
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",
),
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",
),
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",
),
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",
),
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" => "gradient",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Results module",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "gradient",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Results module",
),
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' ),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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" => "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' => '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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"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",
),
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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Results module",
),
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",
),
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",
),
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",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Date / Comment / Excerpt',
"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",
),
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" => "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",
),
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",
),
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",
),
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",
),
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",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Results module",
),
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",
),
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",
),
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",
),
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",
),
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",
),
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" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "toggle_txt_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Text hover color',
"param_name" => "toggle_txt_color_h",
"value" => '',
"description" => '',
"group" => "Style",
),
),
td_config_helper::get_map_block_font_array( 'f_toggle_txt', true, 'Text', 'Style' ),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Form border color',
"param_name" => "form_border_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Arrow color',
"param_name" => "arrow_color",
"value" => '',
"description" => '',
"group" => "Style",
),
),
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",
),
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.5',
'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" => "",
"heading" => 'Border color',
"param_name" => "input_border_color",
"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" => "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",
),
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",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "results_border_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "results_msg_border_color",
"value" => '',
"description" => '',
"group" => "Style",
),
),
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',
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Module color overlay",
"value" => "",
"class" => "",
"group" => "Style",
),
),
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',
),
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" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"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",
),
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',
),
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',
),
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',
),
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',
),
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',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt",
"value" => '',
"description" => '',
"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_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',
),
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',
),
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',
),
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' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style' ),
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" => ""
),
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' => '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" => "",
),
array(
"param_name" => "photo_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "",
),
array(
"param_name" => "photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
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" => "",
),
array(
"param_name" => "login_txt",
"type" => "textfield",
"value" => '',
"heading" => 'Login text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Sign in / Join",
"group" => "",
),
array(
"param_name" => "logout_txt",
"type" => "textfield",
"value" => '',
"heading" => 'Logout text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Logout",
"group" => "",
),
array(
"param_name" => "links_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Links 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' => 'login_tdicon',
'type' => 'icon',
'heading' => 'Login icon',
'class' => 'tdc-textfield-small',
'value' => '',
),
array(
'param_name' => 'logout_tdicon',
'type' => 'icon',
'heading' => 'Logout icon',
'class' => 'tdc-textfield-small',
'value' => '',
),
array(
"param_name" => "icon_pos",
"type" => "dropdown",
"value" => array(
'Before' => '',
'After' => 'after',
),
"heading" => 'Icons position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "",
),
array(
"param_name" => "icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icons size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "10",
"group" => "",
),
array(
"param_name" => "icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icons space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "2",
"group" => "",
),
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',
),
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" => '',
),
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" => '',
),
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" => '',
),
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" => ""
),
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" => "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" => "",
),
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(
"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" => "",
),
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" => ""
),
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' => '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" => "",
),
array(
"param_name" => "icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Icon space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "2",
"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" => "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" => "",
),
array(
"param_name" => "temp_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "",
),
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" => '',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature value color',
"param_name" => "temp_color",
"value" => '',
"description" => '',
"group" => '',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature unit color',
"param_name" => "unit_color",
"value" => '',
"description" => '',
"group" => '',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Location text color',
"param_name" => "loc_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_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_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" => "",
),
array(
"param_name" => "float_right",
"type" => "checkbox",
"value" => '',
"heading" => 'Align 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' => 'Icon',
"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' => '27',
'heading' => 'Icon size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '1',
'range_max' => '60',
'range_step' => '1',
"group" => "",
),
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" => "",
),
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" => '',
),
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",
),
array(
"param_name" => "show_subcat",
"type" => "checkbox",
"value" => '',
"heading" => "Show submenu in composer",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "",
),
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" => ""
),
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",
),
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" => "",
),
array(
"param_name" => "elem_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Elements padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 9px",
"group" => "",
),
array(
'param_name' => 'sep_tdicon',
'type' => 'icon',
'heading' => 'Separator icon',
'class' => 'tdc-textfield-small',
'value' => '',
),
array(
"param_name" => "sep_icon_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Separator icon size",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "12",
"group" => "",
),
array(
"param_name" => "sep_icon_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Separator icon space",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
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',
),
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' => '',
),
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" => "",
),
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" => "",
),
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',
),
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" => "",
),
array(
"param_name" => "sub_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Menu padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "8px 0",
"group" => "",
),
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",
),
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",
),
array(
"param_name" => "menu_up",
"type" => "checkbox",
"value" => '',
"heading" => "Display submenu above",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "",
),
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" => "",
),
array(
"param_name" => "sub_elem_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Elements padding",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "5px 18px",
"group" => "",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "text_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
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",
),
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",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "sub_text_color",
"value" => '',
"description" => '',
"group" => "Style",
),
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",
),
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" => "",
),
array(
"param_name" => "float_right",
"type" => "checkbox",
"value" => '',
"heading" => 'Align 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' => 'Icon',
"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' => '22',
'heading' => 'Icon size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '1',
'range_max' => '60',
'range_step' => '1',
"group" => "",
),
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" => "",
),
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" => '',
),
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_dark_mode',
// array(
// 'map_in_td_composer' => true,
// "name" => 'Dark Mode Button',
// "base" => "tdb_dark_mode",
// "class" => "",
// 'tdc_category' => 'Header shortcodes',
// 'file' => TDB_TEMPLATE_BUILDER_DIR . '/shortcodes/header/tdb_dark_mode.php',
// 'tdc_start_values' => base64_encode(
// json_encode(
// array(
// array(
// "btn_tdicon_switch_dark" => "tdc-font-oi tdc-font-oi-moon",
// "btn_tdicon_swicth_light" => "tdc-font-oi tdc-font-oi-sun",
// )
// )
// )
// ),
// 'params' => array_merge(
// array(
// array(
// "param_name" => "btn_text",
// "type" => "textfield",
// "value" => '',
// "heading" => "Button Text",
// "description" => "",
// "holder" => "div",
// "class" => "tdc-textfield-big",
// "placeholder" => ""
// ),
// array(
// 'param_name' => 'btn_tdicon_switch_dark',
// 'type' => 'icon',
// 'heading' => 'Icon Dark',
// "description" => "Set the icon used to swicth to dark mode.",
// 'class' => 'tdc-textfield-small',
// 'value' => '',
// ),
// array(
// 'param_name' => 'btn_tdicon_switch_light',
// 'type' => 'icon',
// 'heading' => 'Icon Light',
// "description" => "Set the icon used to switch to light mode.",
// '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' => 'range-responsive',
// 'value' => '10',
// 'heading' => 'Icon size',
// 'description' => '',
// 'class' => 'tdc-textfield-small',
// 'range_min' => '1',
// 'range_max' => '30',
// 'range_step' => '1',
// "group" => ""
// ),
//// array(
//// "param_name" => "separator",
//// "type" => "horizontal_separator",
//// "value" => "",
//// "class" => "tdc-separator-small",
//// "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
),
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 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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Sub menu icon color',
"param_name" => "main_sub_color_h",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "line_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Line width",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "",
),
array(
"param_name" => "line_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Line height",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "3",
"group" => "",
),
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',
),
array(
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Line color',
"param_name" => "line_color",
"value" => ' ',
"description" => '',
),
)
),
)
);
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Sub menu icon color',
"param_name" => "main_sub_color_h",
"value" => '',
"description" => '',
"group" => "",
),
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" => "",
),
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" => "",
),
array(
"param_name" => "border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Border radius",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "border_color",
"value" => '',
"description" => '',
),
)
),
)
);
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Sub menu icon color',
"param_name" => "main_sub_color_h",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Background color',
"param_name" => "bg_color",
"value" => '',
"description" => '',
),
array(
"param_name" => "border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Border radius",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "",
),
)
),
)
);
// 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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Sub menu icon color',
"param_name" => "sub_color_h",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Elements background color',
"param_name" => "sub_elem_bg_color_h",
"value" => '',
"description" => '',
"group" => "",
),
)
),
)
);
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" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Sub menu icon color',
"param_name" => "sub_color_h",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "line_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Line width",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "",
),
array(
"param_name" => "line_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Line height",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "2",
"group" => "",
),
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',
),
array(
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Line color',
"param_name" => "line_color",
"value" => ' ',
"description" => '',
),
)
),
)
);
}
}